Skip to content

TheGreamer/PayCore-Work-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌟 PayCore .NET Core Bootcamp - 3rd Week


🧐 About The Project

  • An ASP.NET Web API project developed with .NET 6.
  • The explanations about the classes and the features they contain were detailed in the comment lines in each file.
  • Was created by following the N-Tier architecture.
  • PostgreSQL database was used.
  • NHibernate ORM tool was used.
  • Necessary validation processes were performed using the FluentValidation library.
  • Ensuring security with data transfer is done through the AutoMapper library.
  • Screenshot results of all action methods are at the bottom.
  • The script codes of the database can be accessed from this link. (VPN may be required.)

πŸ’» Project Structure


πŸ“’ Database Table and Column Presentation

  • 🌟 Vehicle Table

    Swagger

  • 🌟 Container Table

    Swagger

  • 🌟 Properties of the id column of the vehicle table

    Swagger

  • 🌟 Properties of the id column of the container table

    Swagger


πŸ‘¨β€πŸ’» Screenshots of Results

  • 🌟 All Actions in Swagger

    Swagger

  • 🌟 Vehicle Actions (VehiclesController)

    • ⭐ Listing all vehicles : [HttpGet] GetAll()

      Swagger


    • ⭐ Searching a vehicle by Id : [HttpGet("{id}")] Get(long? id)

      Swagger


      Swagger


    • ⭐ Adding a new vehicle : [HttpPost] Add([FromBody] VehicleDto dto)

      Swagger


      Swagger


    • ⭐ Updating a vehicle : [HttpPut] Update(long? id, [FromBody] VehicleDto dto)

      Swagger


      Swagger


    • ⭐ Deleting a vehicle with a specified Id along with its containers : [HttpDelete("{id}")] Delete(long? id)

      Swagger


      Swagger


      Swagger


      Swagger


  • 🌟 Container Actions (ContainersController)

    • ⭐ Listing all containers : [HttpGet] GetAll()

      Swagger


    • ⭐ Searching a container by Id : [HttpGet("{id}")] GetById(long? id)

      Swagger


      Swagger


    • ⭐ Listing containers by vehicle Id : [HttpGet("GetContainersByVehicleId/{vehicleId}")] GetContainersByVehicleId(long? vehicleId)

      Swagger


      Swagger


    • ⭐ Listing and clustering containers by vehicle number and max elements per cluster : [HttpGet("{vehicleId}/{maxElementsPerCluster}")] GetClusteredContainers(long? vehicleId, int maxElementsPerCluster)

      Swagger


      Swagger


      Swagger


    • ⭐ Adding a new container : [HttpPost] Add([FromBody] ContainerDto dto)

      Swagger

      Swagger


    • ⭐ Updating a container : [HttpPut] Update(long? id, [FromBody] ContainerDto dto)

      Swagger


      Swagger


    • ⭐ Deleting a container : [HttpDelete("{id}")] DeleteContainer(long? id)

      Swagger


      Swagger

About

PayCore .NET Core Bootcamp - 3rd Work

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages