This repository serves as the backend codebase for the TaskMate
project.
Visit TaskMate client repository here
- This repository is dedicated to the backend codebase of the "TaskMate" project.
- JWT (JSON Web Token) is employed for authenticating users. -The provided APIs facilitate the creation of new users, and user data is stored in a MongoDB database.
- User authentication and login functionalities, utilizing JWT, are integrated into the system.
- The repository also includes APIs for creating, deleting, and editing tasks, with data being pushed to a MongoDB database within the "TaskMate" project.
These instructions will help you set up and run the project on your local machine.
- Node.js installed
- npm or yarn or pnpm installed
-
Clone the repository:
git clone https://github.com/your-username/your-project.git [folder-name]
-
Navigate to the project directory:
cd [folder-name]
-
Install dependencies:
npm install or yarn install or pnpm install
-
Configuration:
Create a new file named
.env
in the root of your project. You can use the provided.env.example
file as a template. This file should contain sensitive information, such as API keys, database credentials, or any configuration specific to your environment.MONGO_URI= JWT_SECRET=
Start the project locally using the following command:
npm dev
or
yarn dev
or
pnpm dev
Visit http://localhost:3000 in your browser.