The Zonzzo API provides comprehensive backend support for monitoring sleep patterns and moods, designed to offer dynamic and detailed insights about users' sleep quality and well-being.
- Register and track daily mood logs.
- Record and analyze sleep sessions.
- Generate weekly and monthly sleep quality reports.
- Secure user authentication and preference management.
- Node.js
- Typescript
- Jest (Testing framework)
- Next.js
- MongoDB (MongoDB Atlas)
- Swagger (for API documentation)
- Axios
- Express
- Chart.js
- Tailwind
To get a local copy of the project up and running, follow these steps:
-
Clone the repository:
git clone https://github.com/jaobarreto/Zonzzo.git
-
Navigate to the "api" folder.
cd Zonzzo/api
-
Install the dependencies:
npm install
-
Configure the environment variables:
- Create a
.env
file in the "api" folder. - Add your MongoDB Atlas connection string and any other necessary configurations.
- Start the API server:
npm run dev
- Access the Swagger documentation for the API:
- Open a browser and navigate to: http://localhost:3333/api-docs
-
Navigate to the "front" folder.
cd Zonzzo/front
-
Install the dependencies:
npm install
-
Start the project:
npm run dev
-
Access a browser and navigate to: http://localhost:3000.
Davi Mathais |
Luiz França |
João Barreto |
---|