mytask-backend

Installation

Prerequisites:

  • Node.js: Ensure you have Node.js (version 14 or higher) installed on your system. If not, download and install it from the official Node.js website: https://nodejs.org/
  1. Clone the repository

  2. Install dependencies:

     npm install

Running Locally

  1. Start the development server:
     nodemon index.js
    or
     node index.js
    
  2. Access the application in your browser at http://localhost:3000/.

Environment Variables

  1. Create a file named .env in the root directory of the project.
  2. Replace the following placeholder values with your own database credentials. copy from demo.env