This project is a Nest.js application providing REST API for consumption. A backend for yotask-fe.
- Nest.js
- Typescript
- MongoDB
To get started running the project locally, please follow the steps below.
First, clone the repository.
git clone https://github.com/kalwabed/yotask-be.git
Then, install dependencies and fetch data to your local machine.
cd yotask-be
pnpm install
Copy the .env.example
file to a new file with the name .env
:
cp .env.example .env
Then, make sure you already have a MongoDB instance (cloud or locally) and fill in the connection URI appropriately:
# .env
MONGO_URL=
PORT=
Finally, run the development server.
pnpm start:dev
Open localhost:8000/docs with your browser to see the Swagger.
For deployment, we can use services like AWS or Railway.