All Projects → madhums → Node Express Mongoose Demo

madhums / Node Express Mongoose Demo

Licence: mit
A simple demo app using node and mongodb for beginners

Programming Languages

javascript
184084 projects - #8 most used programming language
Pug
443 projects
shell
77523 projects
CSS
56736 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Node Express Mongoose Demo

Nest Angular
NestJS, Angular 6, Server Side Rendering (Angular Universal), GraphQL, JWT (JSON Web Tokens) and Facebook/Twitter/Google Authentication, Mongoose, MongoDB, Webpack, TypeScript
Stars: ✭ 307 (-93.83%)
Mutual labels:  mongoose, mongodb, express, passport
Saas
Build your own SaaS business with SaaS boilerplate. Productive stack: React, Material-UI, Next, MobX, WebSockets, Express, Node, Mongoose, MongoDB. Written with TypeScript.
Stars: ✭ 2,720 (-45.34%)
Mutual labels:  mongoose, mongodb, express, passport
Mern Boilerplate
Fullstack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
Stars: ✭ 112 (-97.75%)
Mutual labels:  mongoose, mongodb, express, passport
Cmms
Computerized Maintenance Management System
Stars: ✭ 31 (-99.38%)
Mutual labels:  heroku, mongoose, mongodb, express
Meantorrent
meanTorrent - MEAN.JS BitTorrent Private Tracker - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js, A BitTorrent Private Tracker CMS with Multilingual, and IRC announce support, CloudFlare support. Demo at:
Stars: ✭ 438 (-91.2%)
Mutual labels:  mongoose, mongodb, express, passport
Ecommerce Site Template
A beautiful e-commerce template powered by React, Redux and other modern web tech.
Stars: ✭ 167 (-96.64%)
Mutual labels:  mongoose, mongodb, express, passport
Jianshu
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
Stars: ✭ 296 (-94.05%)
Mutual labels:  mongoose, mongodb, express, passport
Express Mongoose Es6 Rest Api
💥 A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
Stars: ✭ 2,811 (-43.51%)
Mutual labels:  mongoose, mongodb, express
Ecommerce Nodejs
Ecommerce application back-end codes
Stars: ✭ 97 (-98.05%)
Mutual labels:  heroku, mongoose, express
Spruce
A social networking platform made using Node.js and MongoDB
Stars: ✭ 399 (-91.98%)
Mutual labels:  mongoose, mongodb, express
Express Graphql Mongodb Boilerplate
A boilerplate for Node.js apps / GraphQL-API / Authentication from scratch - express, graphql - (graphql compose), mongodb (mongoose).
Stars: ✭ 288 (-94.21%)
Mutual labels:  mongoose, mongodb, express
Nodejs Restful Api
How to create a RESTful CRUD API using Nodejs?
Stars: ✭ 285 (-94.27%)
Mutual labels:  mongoose, mongodb, express
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (-92.68%)
Mutual labels:  mongoose, mongodb, express
Builderbook
Open source web application to learn JS stack: React, Material-UI, Next.js, Node.js, Express.js, Mongoose, MongoDB database.
Stars: ✭ 3,015 (-39.41%)
Mutual labels:  mongoose, mongodb, passport
Typescript Express Starter
🚀 TypeScript Express Starter
Stars: ✭ 238 (-95.22%)
Mutual labels:  mongoose, mongodb, express
Mern Passport
A boilerplate example of using passport.js for authenticating a MERN application
Stars: ✭ 214 (-95.7%)
Mutual labels:  mongoose, express, passport
Securing Restful Apis With Jwt
How to secure a Nodejs RESTful CRUD API using JSON web tokens?
Stars: ✭ 301 (-93.95%)
Mutual labels:  mongoose, mongodb, express
Api Design Node V3
[Course] API design in Node with Express v3
Stars: ✭ 459 (-90.78%)
Mutual labels:  mongoose, mongodb, express
Node Rem
Node REM - NodeJS Rest Express MongoDB and more: typescript, passport, JWT, socket.io, HTTPS, HTTP2, async/await, nodemailer, templates, pagination, docker, etc. Live Demo: https://node-rem-ngduc.vercel.app
Stars: ✭ 192 (-96.14%)
Mutual labels:  mongoose, mongodb, express
Vue Node Pastime
😄 基于vue全家桶、nodejs和mongodb的前后端整合项目
Stars: ✭ 200 (-95.98%)
Mutual labels:  mongoose, mongodb, express

Build Status Dependencies Code Climate Join Gitter Chat

Nodejs Express Mongoose Demo

This is a demo application illustrating various features used in everyday web development, with a fine touch of best practices. The demo app is a blog application where users can signup, create an article, delete an article and add comments etc.

Table of contents:

Boilerplate

Want to build something from scratch? use the boilerplate

Install

git clone git://github.com/madhums/node-express-mongoose-demo.git
npm install
cp .env.example .env
npm start

Then visit http://localhost:3000/

NOTE: Do not forget to set the twitter, google, linkedin and github CLIENT_IDs and SECRETs. In development env, you can set the env variables in .env and replace the values there. In production env, it is not safe to keep the ids and secrets in a file, so you need to set it up via commandline. If you are using heroku checkout how environment variables are set here.

Tests

npm test

Docker

You can also use docker for development. Make sure you run npm install on your host machine so that code linting and everything works fine.

npm i
cp .env.example .env

Start the services

docker-compose up -d

View the logs

docker-compose logs -f

In case you install a npm module while developing, it should also be installed within docker container, to do this first install the module you want with simple npm i module name, then run it within docker container

docker-compose exec node npm i

If you make any changes to the file, nodemon should automatically pick up and restart within docker (you can see this in the logs)

To run tests

docker-compose exec -e MONGODB_URL=mongodb://mongo:27017/noobjs_test node npm test

Note that we are overriding the environment variable set in .env file because we don't want our data erased by the tests.

Note: The difference between exec and run is that, exec executes the command within the running container and run will spin up a new container to run that command. So if you want to run only the tests without docker-compose up, you may do so by running docker-compose run -e MONGODB_URL=mongodb://mongo:27017/noobjs_test node npm test

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].