This is the API for the Task Track Pro application, a simple task tracking application that allows users to create, update, delete, and view tasks. This API is built using NestJS and TypeORM. Also implements a socket to stream the data created in real-time.
- Clone the repository
- Run
npm install
to install the dependencies - Use the following command to create a
.env
file in the root of the project and fill in the necessary environment variables:cp .env.example .env
- Run
npm run start:dev
to start the development server
Note: You need to have a PostgreSQL database running on your machine. You can use the docker-compose file to run the database and the application together if you have Docker installed on your machine. See the next section for instructions on how to run the application with Docker.
-
Use the following command to create a
.env
file in the root of the project and fill in the necessary environment variables:cp .env.example .env
-
Run
docker compose up --build
to build and start the application -
Run
docker compose up
to start the application
The API documentation can be found at http://localhost:{PORT_defined_in_.env}/docs
A live demo of the application can be found here
This project is licensed under the MIT License - see the LICENSE file for details