This is the server-side application for the Booking Movie App written in Golang and built with the Gin Gonic framework. The application provides APIs for managing movie bookings and theater schedules.
- Authentication: Users can register, log in, and manage their authentication tokens.
- Movie Management: Admin users can add, update, and delete movie details such as title, description, genre, and duration.
- Theater Management: Admin users can manage theaters, including adding, updating, and deleting theater information.
- Schedule Management: Admin users can create and manage movie schedules for different theaters.
- Booking Management: Users can search for available movie schedules and book seats for a specific movie and theater.
- Go 1.16 or higher
- Gin Gonic framework
-
Clone the repository:
git clone https://github.com/Mhmdaris15/booking-movie-app.git
-
Change into the project repository
cd booking-movie-app
- Install The Dependencies
go mod download
- Build The Project
go build .\cmd\server\main.go
- Run The Application
.\main.exe
- The Server should now be running on
http://localhost:3000
The server can be configured by modifying the config.go
file. You can change the server port, database connection details, and other settings as needed.
For detailed information on the available API endpoints, please refer to the routes.go
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This Projcet is licensed under the MIT License.