Skip to content

vamaravilla/Orion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seven days Challenge

Best RESTful API to manage a small movie rental.

Diagram

Prerequisites 🔧

  • .NET Core 3.1
  • Visual Studio 2019
  • SQL Server Management
  • Postman
  • Docker Desktop

Installation 🔨

1. Create Database

You can find the script to create the database and load test data. Path: Database\7Days_DataBase.sql. Also you can use my database in azure: sevendays.database.windows.net,1433 just send me your IP and I will give you access.

2. Deploy Api

There two options that I recommend: run the project locally (localhost using docker or IIS express) or deploy in Azure. You can find the project in the path SevenDays\SevenDaysApi. If you decide to use another database, don't forget to change the connection string in appsettings.json or appsettings.Development.json

"ConnectionStrings": {
    "SevenDaysConnectionString": "Server=....."
 }

Usage ⚙️

You can import the Postman collections included in the Docs folder and test all the operations availables. There are two files to test local api or my api exposed in Azure.

  • 7DaysCorona_azure.postman_collection.json
  • 7DaysCorona_localhost.postman_collection.json

You can visualize all the API documentation in the follow URL:

Also you can check a simple web app that consume the API to get the movies in the follow URL:

Built With

Author ✒️

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published