Skip to content

Pabloanm/nodejs-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/pabloanm/nodejs-notes-app
cd nodejs-notes-app
npm install #to install the dependencies to the local node_modules folder
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/pabloanm/nodejs-notes-app
cd nodejs-notes-app
docker-compose up

Default User

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

  • email: admin@localhost
  • password: adminpassword

Tutorial

-This app was created with educational purposes-

About

Nodejs app + Mongodb Atlas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors