Note - A MongoDB & Express based version of this exists on this repo! So take your pick.
- User login & registeration - using PHP sessions and a MySQL database.
- Movie booking - with seat selection, hall selection, time selection.
- Commenting - To post reviews of a specific movie.
- User buy history - to quickly checkout the history of tickets purchased by a user.
Important Note - This is not ready for production, because it has multiple problems arising in real life (see future updates should include section). It was built as a project, and should be appropriate as a starting point.
Future Updates should Include
Reasons why you shouldn't put this up on a production level yet.
- Hashing password. Storing unsalted, unhashed passwords should be a crime.
- Adding a payment gateway.
- Handling simuntaneous transactions (so a way to put a seat on a sort of hold for the duration of buying).
- Adding email verification.
How to set it up
- Edit the db.php files with the details of your MySQL database.
- Use the backup.sql file to import the backed up database to your MySQL to make sure that the database schema is similar.
- Profit! :)
- Of course. You can try me out.
- Also, you can see the screenshots below.