| - - - master (deployed, cannot be installed and run locally)
|
| - - - submission (is for installed and run locally)
| - - - ticket-booking-webapp/
|
|
| - - - ticket-booking-api/
|
| - - - TicketBooking.API/
|
| - - - TicketBooking.API.sln
🔥🔥🔥 Make sure you are in branch "submission"
- Install Docker on Linux or WSL
- Make sure you stop your local SQL Server database service
- Running database using Docker
docker pull mcr.microsoft.com/azure-sql-edge
docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=TicketBooking.database.v1' -p 1433:1433 --name azuresql -d mcr.microsoft.com/azure-sql-edge
- Database is running now. If you want to start database service later , run
docker start azuresql
- Setup data
dotnet ef migrations add init
dotnet ef database update
- Run API
dotnet run
run
npm i
npm start
Now webapp is running at <<http://localhost:3000>> on your local machine.
-
Web application: ReactJS
-
API: ASP.NET Core 7.0, Entity Framework Core 7.0
-
Other services: Azure Database, Azure Blob Storage