Skip to content

Two weeks react-redux project at Epicodus that movie ticket booking site using movie API

Notifications You must be signed in to change notification settings

jiwonhan1/Movie-Booking-Site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie Ticket Booking site 🎥

A movie data management and booking site with full CRUD functionality 5.3.2020

By Jiwon Han

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. LastCommit Languages MIT license

This application was developed by react-redux

1. User Flow

This is a movie ticket booking site with create/read/update/delete functionality. There are two main features : movie management and movie booking.

  1. A user is guided to the site at the first initial page.
  2. A user is able to navigate the site through nav bar.
  3. A user is able to see a movie list.
  4. A user clicks a specific movie and page turns to movie detail page.
  5. A user is able to see movie information in detailed.
  6. A user is able to delete the movie in the detail page.
  7. A user is able to update the movie clicked by EDIT in the movie detail page.
  8. A user is able to add a new movie clicked by Add Movie at the nav bar.
  9. A new movie is created with timestamp.
  10. A user is able to navigate to Booking page.
  11. A user is able to choose a movie on the drop down menu to make a reservation.
  12. A movie screen and seat information comes up.
  13. A user is able to choose a seat and if seat is already booked, Already booked message is shown.
  14. After booking, a user is able to check ticket amounts decreased in the movie detail page.

Diagram

  1. 1st plan : before redux, react only

  1. react-redux plan

Sreenshot

What's Included

|-- _tests_ :
|-- actions :
|   |-- actions.jsx
|   |-- fetchData.jsx
|-- components :
|   |-- App.jsx
|   |   |-- Nav/Main/Footer
|   |-- App.css
|   |-- Footer.jsx
|   |-- Intro.jsx
|   |-- Booking
|   |   |-- Booking.jsx
|   |   |-- Booking.css
|   |-- Movie
|   |   |-- Control.jsx
|   |   |-- Movie.jsx
|   |   |-- MovieAdd.jsx
|   |   |-- MovieEdit.jsx
|   |   |-- MovieInfo.jsx
|   |   |-- MovieList.jsx
|   |   |-- Movie.css
|-- reducers :
|   |   |-- reducer.js
|-- history.jsx
|-- index.jsx

All components were descripted with propTypes

Future improvements

  1. Database such as firebase
  2. Server

2. Development

Tech stack:

To run dev mode locally:

  $ git clone https://github.com/jiwon-seattle/Movie-Booking-Site.git
  $ cd the repository
  $ npm install  
  # After successfull pkg installtion
  $ npm start

Now, it will automatically open http://localhost:3000 and show you movie ticket site

If you encouter with initial npm packages issues, please delete package-lock.json file in the directory

Packages used

react react-redux react-bootstrap react-dom react-router-dom react-scripts redux axios

3. Known Bugs

There are no known bug at this moment

4. Support and contact details

Any feedback is appreciated! Please contact at email: jiwon1.han@gmail.com

License

This software is licensed under the MIT license

Copyright (c) 2020 Jiwon Han

About

Two weeks react-redux project at Epicodus that movie ticket booking site using movie API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published