Backend API for Tukki – a scalable interurban transport platform connecting passengers and drivers in Senegal. Built with clean architecture, real-time features, and mobile-first design.
# NestJS Project
## Overview
This project is a NestJS application designed to manage identity, trip, and booking functionalities. It is structured to follow a modular architecture, separating concerns into distinct domains, application logic, infrastructure, and interfaces.
## Project Structure
```
nestjs-project
├── src
│ ├── main.ts # Entry point of the application
│ ├── app.module.ts # Root module of the application
│ ├── domains # Contains domain-specific logic
│ │ ├── identity # Identity management (auth, users)
│ │ │ ├── controllers # Controllers for identity management
│ │ │ ├── services # Services for identity management
│ │ │ └── entities # Entities for identity management
│ │ ├── trip # Trip management
│ │ │ ├── controllers # Controllers for trip management
│ │ │ ├── services # Services for trip management
│ │ │ └── entities # Entities for trip management
│ │ └── booking # Booking management
│ │ ├── controllers # Controllers for booking management
│ │ ├── services # Services for booking management
│ │ └── entities # Entities for booking management
│ ├── application # Application logic
│ │ └── use-cases # Use cases for business logic
│ │ └── index.ts # Exports use cases
│ ├── infrastructure # Infrastructure-related code
│ │ ├── db # Database interactions
│ │ │ └── repositories # Repository classes for data persistence
│ │ ├── messaging # Messaging functionalities
│ │ └── cache # Caching mechanisms
│ └── interfaces # Interfaces for communication
│ ├── http # HTTP-related code
│ │ ├── controllers # HTTP controllers
│ │ └── dtos …