Giter Site home page Giter Site logo

jiwonhan1 / movie-booking-site Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 6.94 MB

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

HTML 6.75% JavaScript 88.57% CSS 4.68%
react react-redux redux movie-api movie-booking-app

movie-booking-site's Introduction

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: [email protected]

License

This software is licensed under the MIT license

Copyright (c) 2020 Jiwon Han

movie-booking-site's People

Contributors

jiwonhan1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.