GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - klajdm/MovieTickets: MovieTickets - Cinema Booking System (.NET)

BranchesTags
Open more actions menu

Latest commit

 

History

76 Commits
76 Commits

Folders and files

NameName
Last commit message
Last commit date
MovieTickets
MovieTickets
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
MovieTickets.sln
MovieTickets.sln
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 

Repository files navigation

šŸŽ¬ MovieTickets - Cinema Booking System

A modern, feature-rich cinema booking system built with ASP.NET Core MVC and Entity Framework Core. This application allows users to browse movies, select seats, and book tickets for their favorite films.

✨ Features

  • Movie Management: Browse and search through available movies
  • Cinema & Theater Management: Multiple cinema locations and theaters
  • Actor & Producer Profiles: Detailed information about cast and crew
  • User Authentication & Authorization: Secure login system with role-based access
  • Shopping Cart: Add multiple tickets and manage your booking
  • Order Management: Track and manage your ticket orders
  • Admin Panel: Full CRUD operations for movies, cinemas, actors, and producers
  • Responsive Design: Works seamlessly on desktop and mobile devices

šŸ› ļø Technology Stack

  • Backend: ASP.NET Core 8.0 MVC
  • Database: SQL Server with Entity Framework Core
  • Authentication: ASP.NET Core Identity
  • Frontend: HTML5, CSS3, Bootstrap, JavaScript
  • ORM: Entity Framework Core
  • Architecture: Repository Pattern with Service Layer

šŸ“‹ Prerequisites

Before running this application, make sure you have the following installed:

  • .NET 8.0 SDK
  • SQL Server (LocalDB, Express, or Full version)
  • Visual Studio 2022 or Visual Studio Code

šŸš€ Getting Started

1. Clone the Repository

git clone https://github.com/klajdm/MovieTickets.git
cd MovieTickets

2. Configure Database Connection

Update the connection string in appsettings.json:

{
  "ConnectionStrings": {
    "DefaultConnectionString": "Server=(localdb)\\mssqllocaldb;Database=MovieTicketsDb;Trusted_Connection=true;MultipleActiveResultSets=true"
  }
}

3. Install Dependencies

cd MovieTickets
dotnet restore

4. Create and Update Database

dotnet ef database update

5. Run the Application

dotnet run

The application will be available at https://localhost:5001 or http://localhost:5000.

šŸ“Š Database Schema

The application uses the following main entities:

  • Movies: Movie information, pricing, and scheduling
  • Cinemas: Theater locations and details
  • Actors: Actor profiles and movie associations
  • Producers: Producer information
  • Orders: User booking records
  • Users: Authentication and user management
  • Shopping Cart: Temporary ticket storage

šŸ” Default Users

After running the database migrations, the following default users are created:

Role Email Password
Admin [email protected] Admin@123
User [email protected] User@123

šŸ—ļø Project Structure

MovieTickets/
ā”œā”€ā”€ Controllers/          # MVC Controllers
ā”œā”€ā”€ Models/              # Data Models
ā”œā”€ā”€ Views/               # Razor Views
ā”œā”€ā”€ Data/                # DbContext and Services
ā”œā”€ā”€ Migrations/          # EF Migrations
ā”œā”€ā”€ wwwroot/            # Static files (CSS, JS, Images)
└── Program.cs          # Application entry point

šŸ¤ Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ› Issues

If you encounter any issues or have suggestions, please open an issue.

šŸ“§ Contact

  • Author: Klajd M
  • Email: [email protected]
  • GitHub: @klajdm

⭐ If you find this project helpful, please give it a star! ⭐

About

MovieTickets - Cinema Booking System (.NET)

Topics

booking-platformdotnetdotnet-coremovie-tickets-booking-websitemvc

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.