Skip to content

carobte/Dream-Reserve-Backend

Repository files navigation

Dream Reserve Backend

Dream Reserve is a website that allows you to make personalized reservations for your stay and tours in the city of Medellin. This is the backend repository for the collaborative project.

Content

  1. Project
  2. Development
  3. Endpoints API

Project

Why?

A need was identified regarding the ways to book and promote tourism in Medellín. Currently, users do not have the ability to personalize their trips when booking different activities, flights, and hotels. This is where Dream Reserve comes in—to offer users the opportunity to customize each component of their trip to meet their specific needs and desires, making their experience more rewarding.

Purpose

Dream Reserve is designed to give users the ability to personalize every detail of their trip, allowing them better control over their expenses and, consequently, their experience while touring the city of Medellín.

Target Audience

For all individuals who wish to engage in tourism in the city of Medellín, Colombia.

Chosen Theme:

Tourism

Authors:

Development

Prerequisites

Make sure you have the following installed before getting started:


To clone this repository:


To restore dependencies

Restore NuGet packages:

  • dotnet restore

.env file

Make sure you add the environment variables locally in the .env file:

DB_HOST =
DB_PORT =
DB_DATABASE =
DB_USERNAME =
DB_PASSWORD =

JWT_KEY =
JWT_ISSUER =
JWT_AUDIENCE =
JWT_EXPIREMINUTES =


To run the project in dev mode

  • dotnet run

Note: Remember to add the /swagger to your localhost so you can see the available endpoints.


NuGet Packages Used

  • Entity Framework Core: for object-relational mapping (ORM)
  • Entity Framework Core Tools: for running EF Core commands in the CLI
  • Entity Framework Core Design: for scaffolding and other design-time features in EF Core
  • Pomelo EntityFrameworkCore MySql: for MySQL database support in Entity Framework Core
  • DotNetEnv: for loading environment variables from a .env file
  • Authentication JwtBearer: for authentication middleware - JSON Web Tokens (JWT) in ASP.NET Core for the API.
  • Swashbuckle AspNetCore: for API documentation with Swagger in ASP.NET Core projects.

About

Dream Reserve is a website that allows you to make personalized reservations for your stay and tours in the city of Medellin. This is the backend repository for the collaborative project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors