A backend API service for HealthApp built with Node.js and Express. HealthApp is a personal health tracking application (activity, water, sleep, nutrition, etc.) built with Expo + React Native.
HealthApp-Backend provides the server-side infrastructure for managing health-related data and services.
- Runtime: Node.js
- Framework: Express.js
- Database: Prisma ORM
- Authentication: JWT (JSON Web Tokens) with bcrypt for password hashing
- File Storage: AWS S3 Bucket for file uploads
- Email Service: Nodemailer
- Documentation: Swagger (swagger-jsdoc & swagger-ui-express)
├── controllers/ # Request handlers
├── middleware/ # Custom middleware functions
├── models/ # Data models
├── prisma/ # Database schema and migrations
├── routes/ # API route definitions
├── services/ # Business logic layer
├── utils/ # Utility functions
└── index.js # Application entry point
npm install# Development
npm run dev
# Production
npm start- Express. js → https://expressjs.com
- Prisma → https://www.prisma.io/docs
- JWT → https://jwt.io
- AWS SDK → https://aws.amazon.com/sdk-for-javascript
- Nodemailer → https://nodemailer.com
- Swagger → https://swagger.io