This is a todo server built with fastify, TypeScript. PostgreSQL is used as a database.
- Authentication using JWT and HTTP cookies
- Schema validation
- All CRUD operations on todos
Note
You can create your own .env file from the .env.template or you can use the .env.demo.
If you want to use .env.demo run this command in the root directory
cp ./.env.demo ./.env
docker compose up
npm i
npm run start
Or
pnpm run start
You can also change the .env as per your requirements