motapinto / simple-webapp

Learning project using mongodb and nodejs to create simple web application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js & Passport Login + Simple lists app

This is a user login and registration app using Node.js, Express, Passport, Mongoose, EJS and some other packages. It can also create simple lists/posts and delete them.

Usage

$ npm install
$ npm start
# Or run with Nodemon
$ npm run dev

# Visit http://localhost:5000

MongoDB

Open ".env" and add your MongoDB URI, local or Atlas

Docker usage

# Run in Docker
docker-compose up
# use -d flag to run in background

# Tear down
docker-compose down

# To be able to edit files, add volume to compose file
volumes: ['./:/usr/src/app']

# To re-build
docker-compose build

About

Learning project using mongodb and nodejs to create simple web application

License:MIT License


Languages

Language:JavaScript 54.5%Language:HTML 44.8%Language:Dockerfile 0.7%