/modern-todo-backend-nodejs

Modern Todo Application backend developed in nodejs - express - mongodb - jan-6th-2024

Primary LanguageJavaScript

Modern Todo Application Backend

written by Bilal Amjad in Node.js using Express.js and MongoDB

Description

This backend is being developed as headless nodejs api for Nextjs frontend for creating and managing users, todos and todo items.

development started on jan-06-2024 -- (in progress)

Installation

npm install

Usage

# install dependencies
npm install
# run in production mode
npm start
# run in dev mode
npm run dev

Docker & compose

# build docker image
docker build -t todo-backend .

# run docker image in dev mode - always use --build flag to get started with a fresh build
docker compose up --build

# start docker compose watch mode
docker compose watch

License

MIT

Permission

You are free to use this code for your own projects, modify it, or publish it anywhere. please give me credit if you use it. (@Thedevelop3r), thanks.