Welcome to the Slimmom Backend API! This project powers the backend of the Slimmom application, providing robust endpoints for user authentication, calorie tracking, product management, and daily diary features.
- 🔐 User Authentication & Authorization
- 🥑 Product & Calorie Database
- 📅 Daily Food Diary
- 📊 Personalized Calorie Calculator
- 🩸 Blood Type-based Recommendations
- 📝 Comprehensive API Documentation (Swagger & Redoc)
- express
- mongoose
- jsonwebtoken
- bcryptjs
- joi
- dotenv
- cors
- morgan
POST /api/auth/register— Register a new userPOST /api/auth/login— User loginPOST /api/auth/logout— User logoutPOST /api/auth/refresh— Refresh session token
POST /api/calorie/public— Calculate calories (public)POST /api/calorie/private— Calculate calories (private, for logged-in users)
GET /api/diary— Get diary entriesPOST /api/diary— Add diary entryDELETE /api/diary— Delete diary entry
GET /api/products— List all products
- Swagger UI — Interactive API docs
- OpenAPI Spec
- Redocly
- Clone the repository:
git clone https://github.com/HealthStackTeam/slimmom-backend.git
- Install dependencies:
npm install
- Configure environment variables:
- Copy
.env.exampleto.envand fill in your values.
- Copy
- Run the server:
npm start
| Name | GitHub Profile |
|---|---|
| Burak Ezer | burakezer92 |
| Ozan Can Cuyar | ozncncyr |
| İlker Şelimen | ilkerthedev |
| Miraç Şengül | miracsengul |
| Çağla Karabudak Akın | caglaakin |
| Lütfi Çağlayan Usta | lutficaglayanusta |
| Abdullah Furkan Toy | okazaki55 |
| Fatih Genç | gencoflu61 |
| Yeşim Bozkurt | yesimbozkurt |
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
Made with ❤️ by the HealthStack Team