The API of an app used to track habits.
- The user creates habits and treats.
- Every habit has a weekly occurrence as goal and some reward points.
- Every treat has a "value", meaning a certain amount of points that the user has to "spend" in order to earn it.
- The user wins the points every time he completes the weekly occurence of a habit successfully.
- Node.js
- Express.js
- Sequelize ORM
- Joi Schema Description / Data Validator
- ESLint
- Prettier
- Docker
- Postgres
# Setup docker
docker-compose up -d
# Start postgres
docker start postgres
# Install dependencies
npm install
# Start server
npm start