Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Ajith66310/task-manager-full/llms.txt

Use this file to discover all available pages before exploring further.

Each TaskFlow service reads its configuration from a dedicated .env file at startup. You must create and populate these files before running docker-compose up. The variables control database connections, authentication secrets, third-party email credentials, and API routing. Docker Compose injects the values into each container at build or runtime as appropriate.
JWT_SECRET must be identical in user-service/.env and task-service/.env. If the values differ, the task service will reject all tokens issued by the user service, and authenticated requests will fail across the stack.
Create user-service/.env with the following variables:
MONGO_URI=mongodb://mongo-user:27017/TaskManagerUser
JWT_SECRET=your-secret-here
JWT_EXPIRES_IN=7d
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=your-admin-password
PORT=5001
VariableRequiredDescription
MONGO_URIYesConnection string for the user MongoDB container.
JWT_SECRETYesSecret used to sign and verify JSON Web Tokens. Must match task-service.
JWT_EXPIRES_INNoToken expiry duration. Defaults to 7d if not set.
ADMIN_EMAILYesEmail address for the seeded administrator account.
ADMIN_PASSWORDYesPassword for the seeded administrator account.
PORTYesPort the user service listens on inside the container. Set to 5001.
MONGO_URI is pre-configured for the Docker Compose internal network. The hostname mongo-user resolves to the mongo-user container automatically — do not change it unless you are running the service outside of Docker Compose.

Build docs developers (and LLMs) love