Skip to content

HieuTrungMc/HealthApp-Backend

Repository files navigation

HealthApp-Backend

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.

Description

HealthApp-Backend provides the server-side infrastructure for managing health-related data and services.

Tech Stack

  • 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)

Project Structure

├── 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

Getting Started

Installation

npm install

Running the Server

# Development
npm run dev

# Production
npm start

Useful Links

About

nhu tieu de

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published