https://github.com/alexandredresch/habits-server
https://github.com/alexandredresch/habits-server
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexandredresch/habits-server
- Owner: AlexandreDresch
- Created: 2023-02-04T02:05:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T23:32:32.000Z (about 3 years ago)
- Last Synced: 2025-01-08T09:26:17.707Z (over 1 year ago)
- Language: TypeScript
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Habits Server
## Nodejs backend of an application developed for habit management.
## Starting the project
Use **npm install** to install project dependencies.
Then start the project.
```cl
npm run dev
```
## Routes
- **GET** /summary 👉 get the summary of the habits, done and not done included;
- **GET** /day 👉 get the habits of the day;
- **POST** /habits 👉 create a new habit;
- **PATCH** /habits/:id/toggle 👉 set the habit as done or not done.
## Technologies
- [ ] Typescript;
- [ ] NodeJS;
- [ ] Prisma;
- [ ] Dayjs;
- [ ] Fastify;
- [ ] zod.