This is the back-end API code for the Awsom Scheduler, written in C# .NET Core 2.2.
The project uses Entity Framework Core for database access and modification and uses a Microsoft SQL Server database.
- Server capable of hosting a .NET Core 2.2 application
- Microsoft SQL Server (and connection string)
Secret- Secret key for securely signing JSON Web TokensConnectionStrings:ProductionConnection- Connection string for the running SQL server
- Navigate to our GitHub page for the back-end code
- Fork the repository
The deploy branch is the one which is used for deployment.
- Navigate to the Azure Dashboard, then to App Services
Adda new app- Select a
SubscriptionandResource Group - Enter an instance name
- For the remaining options, choose the following
Publish: CodeRuntime stack: .NET Core 2.2Operating system: Windows (preferred) or LinuxRegion: (as desired)
- Choose an
App Service Plan - Click
Review and create - (Wait for the app to deploy on Azure... probably get a cup of coffee or tea)
- Navigate into the newly-created app's dashboard and then click
Deployment Centerfrom the menu - Choose
GitHubfor deployment and clickContinue- If you haven't done it before, you will need to provide Azure with access to your GitHub repositories
- Choose
App Service build serviceand clickContinue - Find the forked repository you created above
Organizationwill be your username or the organization you used create the forkRepositorywill be the forked repoBranchwill bedeploy
- Click
Continue - Click
Finish - On the app dashboard (left side), click
Configuration - In
Application Settings, create a new application setting namedSecretwith a value of your choosing, then clickOK - In
Connection Strings, create a new connection string namedProductionConnectionwith a value that will let you connect to your running Microsoft SQL Server, then clickOK- The SQL database will need to be configured using the code-first schemas in this project. This is a process which is outside the scope of this document.
If everything above succeeds, the app is now deployed
- Morgana Spake
- Jesse Van Volkinburg
- Bonnie Wang
- Joé Jemmely