Skip to content

A website designed for event organizers to schedule events and provide a user-friendly interface for end users to conveniently purchase tickets. The project is developed using ReactJS for the frontend and .NET Core API for the backend.

Notifications You must be signed in to change notification settings

nhlong1512/EventHub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event Hub - Event Booking

Branch structure

| - - - master (deployed, cannot be installed and run locally)
|
| - - - submission (is for installed and run locally)

Repository structure

| - - - ticket-booking-webapp/
|
|
| - - - ticket-booking-api/
			|
			| - - - TicketBooking.API/
			|
			| - - - TicketBooking.API.sln

Installation and Run

🔥🔥🔥 Make sure you are in branch "submission"

Setup local database instruction

  1. Install Docker on Linux or WSL
  2. Make sure you stop your local SQL Server database service
  3. 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
  1. Database is running now. If you want to start database service later , run
docker start azuresql

Go to TicketBooking.API project in "ticket-booking-api"

  1. Setup data
dotnet ef migrations add init
dotnet ef database update
  1. Run API
dotnet run

Go to folder "ticket-booking-webapp"

run

npm i
npm start

Now webapp is running at <<http://localhost:3000>> on your local machine.

Tech stack for Ticket Booking

  • Web application: ReactJS

  • API: ASP.NET Core 7.0, Entity Framework Core 7.0

  • Other services: Azure Database, Azure Blob Storage

About

A website designed for event organizers to schedule events and provide a user-friendly interface for end users to conveniently purchase tickets. The project is developed using ReactJS for the frontend and .NET Core API for the backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.6%
  • C# 34.9%
  • Other 2.5%