Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qntum-dev/todofy
This is a todo server built with fastify, TypeScript. PostgreSQL is used as a database.
https://github.com/qntum-dev/todofy
docker fastify nodejs postgresql typescript
Last synced: about 1 month ago
JSON representation
This is a todo server built with fastify, TypeScript. PostgreSQL is used as a database.
- Host: GitHub
- URL: https://github.com/qntum-dev/todofy
- Owner: qntum-dev
- Created: 2024-05-15T11:34:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T07:44:38.000Z (5 months ago)
- Last Synced: 2024-08-09T07:14:08.846Z (5 months ago)
- Topics: docker, fastify, nodejs, postgresql, typescript
- Language: TypeScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todo
This is a todo server built with fastify, TypeScript. PostgreSQL is used as a database.## Features
- Authentication using JWT and HTTP cookies
- Schema validation
- All CRUD operations on todos## Starting the server
Note⚠️ To start the server you have to create a .env file.
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
```### To run the server with Docker use this command
```
docker compose up
```### For LocalHost use the following commands
```
npm i
```
```
npm run start
```
Or```
pnpm run start
```You can also change the .env as per your requirements