Installation
This guide will help you set up the TaskFlow Backend for local development.
Prerequisites
Ensure you have the following installed on your machine:
- Node.js (Latest LTS version recommended)
- pnpm (Package manager)
- MongoDB (Database) - Optional if using Docker
- Infisical (Secrets Management)
Cloning the Repository
Installing Dependencies
Install the project dependencies using pnpm:
Setting up Environment Variables
We use Infisical to manage secrets securely.
-
Install the Infisical CLI:
-
Login to Infisical:
-
Initialize the Project: Select the existing project if prompted.
Running the Application
Start the development server with hot-reloading:
This command uses infisical run to inject environment variables and tsx watch to restart on file changes.