An open API service indexing awesome lists of open source software.

https://github.com/alexandredresch/habits-server


https://github.com/alexandredresch/habits-server

Last synced: about 1 month ago
JSON representation

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.