💝 Dating App API Server

NestJS Backend with TypeScript & MongoDB

RUNNING

📋 About This API

Welcome to the Dating App API Server! This is a production-ready backend built with NestJS and TypeScript, featuring a maintainable architecture designed for scalability and rapid development.

The API provides a robust foundation for building dating application features, including user management, matching algorithms, messaging, and more.

🔌 API Endpoints

All API endpoints are prefixed with /api/v1 unless otherwise specified.

GET /health
Health check endpoint - Returns server status, uptime, and environment information
GET /api/v1/*
API endpoints are prefixed with /api/v1 for versioning

🗄️ Database Configuration

MongoDB Connection

Connection URI: [redacted]
ODM: Mongoose v7.8.7+
Status: Configured (enable in app.module.ts)

Note: MongoDB connection is commented out by default. Uncomment the configuration in src/app.module.ts to enable database connectivity.

✨ Features

Architecture

  • Modular design
  • Feature-based modules
  • Separation of concerns
  • Dependency injection

Development

  • TypeScript support
  • Hot reload
  • ESLint & Prettier
  • Environment config

Production Ready

  • Error handling
  • Request logging
  • CORS enabled
  • Input validation

🚀 Getting Started

Quick Commands

Install: npm install
Development: npm run start:dev
Production: npm run build && npm run start:prod
Test: npm test

📚 Documentation

For comprehensive documentation, please refer to the README.md file in the repository. It includes detailed information about:

  • Installation and setup instructions
  • Environment configuration
  • API endpoint details
  • Testing guidelines
  • Architecture overview
  • Development best practices