Skip to content

AbolfazlGhaderi/SnappFood-Nestjs

Repository files navigation

NestJS Logo

SnappFood-Nestjs

Emulation of the snappfood website.

This project is a food ordering built using technologies such as NestJS , MicroORM , TypeScript , PostgreSQL , TypeORM , Google OAuth , Object Storage , Cache Manager , Docker

The project is under development and not yet complete.

Project Development Guidelines

Naming Conventions

To ensure a consistent structure throughout the project, please adhere to the following naming conventions:

  1. Function and Method Names:
  • Function and method names should be in camelCase
    • Example: getUserData(), saveOrderDetails()
  1. Variable Names:
  • Variable names should be descriptive, making it clear what the variable represents and should be in camelCase
    • Example: userName, orderDate, totalPrice
  1. Class Names:
  • Class names should follow the PascalCase convention
    • Example: UserController, OrderService, PaymentGateway
  1. Interceptor , Middleware and Decorator Names:
  • Interceptor , Middleware and Decorator names should also be in PascalCase
    • Example: LoggingInterceptor, AuthMiddleware
  1. Controller Names:
  • Controller names must end with _Handler
    • Example: User_Handler, Order_Handler

Code Guidelines

  1. ESLint Usage:
    • ESLint should always be enabled and properly configured to ensure code quality and adherence to the project's coding standards.

Feedback

Feel free to contact me ❤️

Telegram : https://t.me/Abolfazl_ghaderii

Email : [email protected]

Website : https://abolfazlghaderi.ir

About

Emulation of the snappfood website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published