Skip to content

leonardobuckalves/hotel-management-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HotelManagementAPI

Hotel booking API to manage hotel rooms and clients.

Goal

The goal was to further increase my knowledge in ASP.NET Core Web API, Entity Framework, setting up a connection to a database and develop a CRUD to manipulate data.

Learnings

  • API Development
  • HTTP requests
  • EF Core Migrations
  • Data Annotations
  • Serialization and Deserialization

API Routes

Booking list

Search booking by ID

Booking list with clients

Add booking

Modify booking

Delete booking

Clients list

Search clients by ID

Add clients

Modify client

Delete booking

How to run the project

Clone the repository with git clone https://github.com/leonardobuckalves/hotel-management-api.git

Open the project in Visual Studio 2022.

Set up the connection string to connect to your local MySQL database.

Inside inside command prompt (cmd/PowerShell), navigate to the project folder, run dotnet ef database update.

In Visual Studio press F5, or press Ctrl+F5 to start without debugging.

Author

Leonardo Buck Alves

About

Manage a hotel booking and client list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages