Giter Club home page Giter Club logo

trevoirwilliams / hotellisting.api.net Goto Github PK

View Code? Open in Web Editor NEW
65.0 2.0 39.0 81 KB

An Educational Web API built using .NET Core 6. We look at REST principles, connecting to a database, using swagger and developing custom middleware to bring out the full feature set of a .NET API.

Home Page: https://www.udemy.com/course/ultimate-aspnet-5-web-api-development-guide/?referralCode=354D04A638A9196767B3

C# 100.00%
api asp-net-core ef-core jwt

hotellisting.api.net's Introduction

Hotel Listing API

This repository contains the source code for an educational Web API built using .NET Core 6. The project covers REST principles, connecting to a database, using Swagger, and developing custom middleware to bring out the full feature set of a .NET API.

The project is a supporting record for the course called "Ultimate ASP.NET Core Web API Development Guide," which can be found at this URL: https://www.udemy.com/course/ultimate-aspnet-5-web-api-development-guide/?referralCode=354D04A638A9196767B3.

Table of Contents

Technologies

The project uses the following technologies:

  • .NET Core 6/7/8
  • REST principles
  • Swagger
  • Entity Framework Core
  • SQL Server
  • Serilog

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository to your local machine.
  2. Install the .NET Core 6 SDK and SQL Server on your machine.
  3. Update the connection string in the appsettings.json file with your SQL Server connection string.
  4. Open the solution file in Visual Studio or another IDE of your choice.
  5. Restore the NuGet packages.
  6. Set the startup project to HotelListing.API.
  7. Run the project.

Project Structure

The solution is composed of the following projects:

  • Core: Contains the application logic and interfaces.
  • Data: Contains the domain models and business rules.
  • API: Contains the Web API controllers and middleware.

Code Samples

The project contains code samples for several areas of .NET Core development, including:

  • REST principles
  • Swagger
  • Entity Framework Core
  • SQL Server
  • Custom middleware

Each code sample is well-documented, and the code is designed to be easy to read and follow.

Documentation

The repository contains documentation for each of the code samples, including:

  • An overview of the sample and its intended use case
  • Installation and configuration instructions
  • Code walkthroughs and explanations
  • Best practices and tips for working with the sample

The documentation is designed to be accessible to developers of all skill levels, from beginners to advanced users.

Contributing

Contributions to this repository are welcome. If you have a code sample or educational resource that you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and commit them to your branch.
  4. Submit a pull request.

Please ensure that your contributions adhere to the repository's code of conduct and that they are well-documented and follow best practices.

License

This repository is licensed under the MIT License. See the LICENSE file for more information.

hotellisting.api.net's People

Contributors

trevoirwilliams avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.