Skip to content

A web app to manage notes using Nodejs, and Mongodb as database, plus authentication with passportjs

Notifications You must be signed in to change notification settings

fazt/nodejs-notes-app

Repository files navigation

Notes App NodeMongo

This is a basic Web application to manage simple Notes on the web using Javascript Technologies like Nodejs, Mongodb, and other related technologies. Tecnically this is a Multi-Page Application using Handlebars as template engine.

This app can do:

  • CRUD Operations: create/read/update/delete Notes
  • Allows a user to do login and save his personal notes

Installation

git clone https://github.com/FaztTech/nodejs-notes-app
cd nodejs-notes-app
npm i
npm run dev # run in development mode
npm start # run in production mode

You need to have Mongodb installed Locally or stablish a MONGODB_URI environment variable in order to connect to any mongodb instance (using Mongodb Atlas for example)

Environment Variables

This app needs the following environment Variables

  • MONGODB_URI this is the Mongodb URI string
  • PORT the server http port for the application
  • NODE_ENV node environment

docker-compose

The most easy way to install the entire project is using docker-compose:

git clone https://github.com/FaztTech/nodejs-notes-app
cd nodejs-notes-app
docker-compose up

Default User

when the app is lauched, this will create an Admin user with the following credentials:

  • email: admin@localhost
  • password: adminpassword

Tutorial

This app was created with educational purposes, so you can found the tutorials in the following links:

About

A web app to manage notes using Nodejs, and Mongodb as database, plus authentication with passportjs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published