Nodejs Notes App screenshot

Nodejs Notes App

Author Avatar Theme by Fazt
Updated: 24 Aug 2022
270 Stars

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

Categories

Overview:

The Notes App NodeMongo is a basic web application designed to manage simple notes using technologies like Node.js, MongoDB, and Handlebars as a template engine. Users can perform CRUD operations, including creating, reading, updating, and deleting notes. Additionally, the app allows users to log in and save personal notes securely.

Features:

  • CRUD Operations: Users can create, read, update, and delete notes.
  • User Authentication: Provides a login feature to secure personal notes.
  • Handlebars Template Engine: Utilizes Handlebars for dynamic web page generation.
  • Environment Variables: Requires setting up environmental variables like MONGODB_URI, PORT, and NODE_ENV for configuration.
  • Docker-compose Support: Facilitates easy installation of the entire project with the help of docker-compose.
  • Default Admin User: Automatically creates an admin user upon launch with predefined credentials.

Installation:

To install the Notes App NodeMongo, follow these steps:

  1. Ensure MongoDB is installed locally or set up a MONGODB_URI environment variable for external MongoDB instances (e.g., MongoDB Atlas).
  2. Set up the required environment variables:
    MONGODB_URI=your_mongodb_uri
    PORT=3000
    NODE_ENV=development
    
  3. Use docker-compose for a seamless installation process:
    docker-compose up
    
  4. Upon launching the app, an admin user will be created with the following credentials:
    • Email: admin@localhost
    • Password: adminpassword

Summary:

The Notes App NodeMongo is a practical web application that leverages modern technologies for managing notes effectively. With features like CRUD operations, user authentication, and docker-compose support, this app provides a convenient way to organize and safeguard personal notes. The default admin user setup simplifies the initial configuration process, making it an ideal choice for educational purposes and personal use.