This RESTful API allows users to manage tasks and handle user authentication.
Ensure you have the following installed:
- Node.js (>=10.13.0)
- npm or Yarn package manager
- Database server (e.g., PostgreSQL, MySQL) which I have provided already here Supabase Postgres
Ensure NestJS is installed globally on your system, you can run the following command to have it install if not installed:
npm install -g @nestjs/cli
- Clone the repository
git clone https://github.com/Ilesanmi-Erioluwa-Victor/task_management_system.git
- Navigate to the project directory:
cd task_management_system
- Install dependencies:
npm install
- Create a .env file in the root directory of the project: copy and paste this to your .env file
DATABASE_URL=*******
PS: The DATABASE_URL value is provided on the google docs file attached to my email respond, due to Github strict rules against expose env variables
To start the development server, run the following command:
npm run start:dev
or
yarn start:dev
The API server should now be running locally on port 3000 by default.
You can access the Swagger documentation for the API at http://localhost:3000/api. when your server is running locally at port 3000