2 Mock API Ceation Guidelines
Sakine Mazlomyar edited this page 2026-04-13 08:37:45 +00:00

The rules:

  1. Every micro service shall have a database. At the moment we use sensor database until the investigation about the database structure is done.
  2. Map Structure
    • shall follow Object oriented (use of classes) check out the parking service structure
  3. Every micro service has unique functionalities such as electricity and sensor then some parts may not be similar
  4. Having a README: What to include:
  • How it integrates from frontend and back
  • How we reach the data and having proper comments
  • In the pr having a label about testing
  • How to build the project and make it run
  • The decision and why

Communication

  • At the moment the communication will happen through the middle-ware
  • The update request is at the moment mockup until the investigation about how to handle it in the middleware and database.

When you create a new project, you need to first choose the correct template, then run the following command.

-"dotnet new <TEMPLATE> -n YOUR_PROJECT_NAME"
To list the available templates, use the command:
    -"dotnet new list"