This is a backend application built with Node.js and TypeScript. It connects to a MongoDB database and provides various API endpoints.
- Node.js (v16 or higher recommended)
- MongoDB Atlas or local MongoDB instance
-
Clone the repository from Git:
git clone https://github.com/viduraperera/task-managment-backend.git
-
Navigate to the
backenddirectory:cd backend
Run the following command to install the required dependencies:
npm install-
Clone the repository from Git:
Create a .env file in the root of the backend directory with the following content:
MONGO_URI=mongoDB_URL JWT_SECRET=your_jwt_secret PORT=5000
npm start