JavaScript Mongoose

Open-source JavaScript projects categorized as Mongoose

Top 23 JavaScript Mongoose Projects

  • node-express-boilerplate

    A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose

    Project mention: Example typescript project repos? | reddit.com/r/typescript | 2022-10-27
  • builderbook

    Open source web application to learn JS stack: React, Material-UI, Next.js, Node.js, Express.js, Mongoose, MongoDB database.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • notion-clone

    Edit Notes like in Notion.so. Full-Stack App using React/Express.

  • lad

    Node.js framework made by a former @expressjs TC and @koajs team member. Built for @forwardemail, @spamscanner, @breejs, @cabinjs, and @lassjs.

    Project mention: Sending Emails with Node.js | dev.to | 2022-09-12

    Another quite popular package is email-templates. As you can see from the name, this package is designed for creating various custom templates for Node.js. It features support for automatic inline CSS, stylesheets, embedded images, and fonts. Also, it has an email preview option. The email templates package was made by the creator of the Lad framework. So it’s recommended to use it with Lad.

  • rest

    REST API generator with Node.js, Express and Mongoose (by diegohaz)

  • accountill

    Fullstack open source Invoicing application made with MongoDB, Express, React & Nodejs (MERN)

  • MEVN-CLI

    Light speed setup for MEVN(Mongo Express Vue Node) Apps

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • youtube-clone-nodejs-api

    VueTube is a YouTube clone built with nodejs, expressjs & mongodb. This is the RESTful API repository.

    Project mention: Is there forum software that allows a) can only view if a user, user registration requires admin approval of account, and b) videos can be uploaded directly to the forum (don't have to post to youtube or something and link)? | reddit.com/r/selfhosted | 2022-04-30

    You can keep video separately for example by utilizing your own youtube by self hosting VueTube or simply use peertube for video while keep communication part by utilizing either some forum software or mattermost or matrix

  • amazona

    Build Ecommerce Like Amazon By MERN Stack

  • mockingoose

    A Jest package for mocking mongoose models

  • Nodejs-rest-api-project-structure-Express

    Nodejs project structure practices for building RESTful APIs using Express framework and MongoDB.

    Project mention: Got a task to do an e-commerce project with express,mongodb and hbs | reddit.com/r/node | 2022-06-13

    You can check the below nodejs project structure using express framework this help me a lot on my current project nodejs project structure

  • mern-boilerplate

    Full stack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.

    Project mention: Need help with an example of a MERN app with google oauth | reddit.com/r/webdev | 2023-01-02

    I tried to run https://github.com/nemanjam/mern-boilerplate and https://github.com/eknoorpreet/dev.to-clone but could not run them locally. Can you sugges me any other repositories?

  • dhiwise-nodejs

    DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.

  • gindex-v4

    A Vue Js Based G Index with Improved Dark Mode, Search and Video Player

  • starter-antd-admin-crud-auth-mern

    Antd Admin - Starter Mern App( Node.js / React / Redux / Ant Design 4) Crud & Auth ,Mern boilerplate Dashboard

  • a-crash-course-on-serverless-auth

    A short and easy boilerplate showcasing JWT auth with Nodejs, the Serverless framework, MongoDB and AWS Lambda.

    Project mention: Strategies for implementing user authentication in serverless applications | dev.to | 2022-03-31

    Originally post at Serverless Searching for a way to do user authentication in your serverless project? Look no further. In this post I’ll be covering robust approaches to storing authentication-related data in serverless applications! We’ll talk about storing user information with sessions and JWT, token validity with Lambda Custom Authorizers, user management from scratch vs hosted services, and so much more. (Spoiler alert: there is no one perfect solution.) I’ll cover a few examples of implementing both authentication and user management, and give my thoughts on the future of authentication mechanisms for the Serverless architecture. I’ll be mentioning the following examples in this post; feel free to check them out beforehand if you’d like: API Gateway + Custom Authorizer + Auth0 Serverless Authentication + Authorization Where to store user information When implementing authentication in your Serverless project, there are two steps: (1) give your users the ability to identify themselves, (2) retrieve their identity in your Serverless functions. The most common ways to accomplish this are storing user sessions, and writing user information inside JSON Web Tokens. Sessions — standard approach Sessions are a standard for storing authentication-related information. Upon authentication, the user gets a token. The token is then sent to the server on every request, and used to look up user information in the database — the status of the session, expiration time, and authentication scopes. Typically, you would store session data in either Redis or Memcached. But for Serverless projects, it makes sense to use hosted datastores instead — Amazon ElastiCache or DynamoDB, Google Cloud Datastore, etc. The down side is, hitting DynamoDB or another datastore to retrieve session information can be a challenge. With a high enough load on your application, retrieving sessions might add a significant amount to the datastore costs and increase page load times for users. Not so optimal. JWT — convenient for serverless Enter JSON Web Tokens (JWT), a growing favorite for serverless projects. The authentication mechanism here is similar to sessions, in that the user gets a token upon logging in, and then sends that token back to the endpoint on every request. But JWT has a key advantage; it makes it easy to store additional user information directly in the token, not just the access credentials. On every request, the user will send the whole token to the endpoint. If you store their username or access scopes in the JWT token, it will be very easy to access that information in every HTTP request you receive. The good This has a number of benefits for serverless projects compared to sessions: you don’t have to access the datastore for getting user information, which can decrease operational costs significantly changing the shape of the data stored in JWT tokens during development is faster, and that enables easier experiments implementing JWT can be just plain easier than reading and writing sessions The bad Unfortunately, JWT isn’t a holy grail: JWT tokens are larger than average session keys, so your clients may be sending more data to your endpoints overall All issued tokens are encrypted with a single keypair. If a leak occurs, the keypair-affected applications would need to invalidate all existing JWT tokens. Clients are allowed to choose the encryption method used on the JWT token issued to them, which could potentially expose additional attack vectors. (This whitepaper on the topic is quite thought-provoking.) Implementing authentication via JWT in a production app certainly requires spending extra time on ensuring that the tokens are used correctly, that you only store the most necessary information in the tokens, and that you are keeping your encryption keys safe. Where to check session or token validity? So when and where should you check the user’s credentials inside your app? One solution would be to check the JWT or session content on every call to any of your functions. This gives you the most control over the authentication flow, but it is complicated to implement; you have to do everything yourself. It’s also not optimal from the database access standpoint. Another solution that improves on some of these issues is using Custom Authorizers supported by API Gateway. Lambda Custom Authorizers AWS Lambda offers a convenient way to perform authentication outside of your core functions. With API Gateway’s Custom Authorizers, you can specify a separate Lambda function that is only going to take care of authenticating your users. In serverless.yml, you can specify custom authorizers as follows: Custom Authorizers are currently only supported in joint use of Amazon API Gateway + Lambda. The Authorizer function has to return a policy of a specific shape. It’s a little inconvenient at first, but gets you access to a lot of flexibility. Amazon provides a blueprint for implementing authorizer functions, which you can find right here. You can also find a working implementation of an Authorizer function here in the Serverless Examples repo. The best part: API Gateway will cache the resulting policy that gets returned by the Authorizer function for up to one hour. If the Custom Authorizer gets user information from, say, DynamoDB, this caching is going to reduce DynamoDB traffic significantly and improve the load times of your Serverless app’s endpoints. Nice. Check out our documentation on using the Custom Authorizers with the Serverless Framework. User management from scratch vs hosted services To manage users, you’ll need to create and delete them, as well as log them in and out. So the the big question is: should you manage users entirely yourself, or use a hosted service? Implementing it yourself This basically requires a CRUD interface for your Users database, plus a login method to generate a new JWT token or to create a session. Those can be implemented as separate functions. I found this example to be very useful. The Register User function is simply: Which then gets wrapped in a handler: And specified in the serverless.yml: You can find the full example in this GitHub repo. Using hosted services Services like Auth0 and Amazon Cognito handle creating users, logging them in, and storing sessions. If your goal is to allow users to log in with their social accounts or their corporate SAML identities, this is especially useful. With Auth0, your app’s frontend gets a JS element via the Auth0 SDK that displays a nice-looking login window, as in the example here: And then your Authorizer function will check the user’s token using the Auth0 public key: All without a need for you to maintain the Users database. Pretty slick. Conclusion We’re unfortunately still in the early stages of authentication for serverless. While API Gateway provides a convenient way to implement authorization for Lambda functions (with, logically, more Lambda functions), other serverless compute providers don’t offer ways to conveniently authenticate users. And even authorizer functions in Lambda have their issues, with fairly complex policies and caching limitations. We are eager to see what solutions for authentication the serverless compute providers offer going forward, and are always happy to hear from you about how you’re handling authentication. Feel free to drop a comment, post in our forum, or hit us up on Twitter.

  • Fullstack-projects-frontend-with-react-and-backend-with-various-stacks

    * W.I.P *🛠 Full-on full stack front end and a bit of back end web development challenge. Challenging every day to learn new stuffs about react & its in-depth features and also to explore the taste of various stacks.

  • reddish-mern

    Simplified ‘reddit’ (popular social-media site) clone. Made using MERN stack.

  • Natours

    An awesome tour booking web app written in NodeJS, Express, MongoDB 🗽(NB: Working on ES6 Module Update and Sorry to say Heroku's free dyno is over, that's why this live URL might not going to work. But you can see the readme file for an overview. Thank You.)

  • uuid-mongodb

    📇 Generates and parses MongoDB BSON UUIDs

  • jwt-node-vue

    Repositório responsável pelo primeiro projeto da série de vídeos: Coding Stuff.

  • shopping-cart

    A full-fledged package to build an e-commerce application for iOS and Android similar to Myntra/JackThreads. Available with beautiful design and necessary features along with screen for Dashboard and Mobile app. Build using React Native, Expo, React, GraphQL, Apollo Client, Node and MongoDB. (by Ninjas-Code-official)

  • Devto-clone

    Dev.to clone

    Project mention: 💁‍♂️ Built a Dev.to replica with The MERN stack and more | dev.to | 2022-09-17
  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-02.

JavaScript Mongoose related posts

Index

What are some of the best open-source Mongoose projects in JavaScript? This list will help you:

Project Stars
1 node-express-boilerplate 5,065
2 builderbook 3,425
3 notion-clone 2,490
4 lad 2,214
5 rest 1,735
6 accountill 1,312
7 MEVN-CLI 796
8 youtube-clone-nodejs-api 560
9 amazona 532
10 mockingoose 363
11 Nodejs-rest-api-project-structure-Express 284
12 mern-boilerplate 262
13 dhiwise-nodejs 257
14 gindex-v4 253
15 starter-antd-admin-crud-auth-mern 211
16 a-crash-course-on-serverless-auth 155
17 Fullstack-projects-frontend-with-react-and-backend-with-various-stacks 128
18 reddish-mern 115
19 Natours 98
20 uuid-mongodb 95
21 jwt-node-vue 84
22 shopping-cart 69
23 Devto-clone 68
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
www.sonarsource.com