Express Mongodb Crud

screenshot of Express Mongodb Crud
express

Web Application CRUD using Nodejs and Mongodb

Overview

This product is a CRUD application built with Node.js, Express, and MongoDB. It is a multi-page application that uses Handlebars. The installation process is made easier by providing options to use docker-compose or manual installation methods. The application offers features such as search input to find tasks, user authentication and authorization, Docker configuration for production, Github actions setup, error handling, and user input validation using a library.

Features

  • Search Input: Allows users to find tasks easily.
  • User Authentication and Authorization: Ensures secure access to the application.
  • Docker Configuration for Production: Simplifies deployment with Docker.
  • Github Actions Setup: Facilitates continuous integration.
  • Connect-Mongo Integration: Stores sessions in the database for improved reliability.
  • Error Handling: Provides a robust system for managing errors.
  • Validation Library for User Input: Enhances data validation.

Using docker-compose (Recommended):

  1. Clone the repository.
  2. Run docker-compose up in the project directory.
  3. Access the application at http://localhost:3000.

Manual Installation:

  1. Ensure MongoDB is installed and running.
  2. Clone the repository.
  3. Run npm install to install dependencies.
  4. Start the application using npm start.
  5. Access the application at http://localhost:3000.

Summary

The CRUD application built with Node.js, Express, and MongoDB offers a robust feature set including search functionality, user authentication, Docker configuration for production environment, Github actions setup, session management with Connect-Mongo, error handling, and user input validation through a dedicated library. Installation can be done using docker-compose which is recommended, or manually by setting up MongoDB and running the application locally. The application's features make it a comprehensive solution for building and managing tasks efficiently.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.