GithubHelp home page GithubHelp logo

dev-el-badry / ticketing-app-laravel-dockerized Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 284 KB

Shell 0.71% PHP 73.56% Dockerfile 0.38% Blade 6.96% JavaScript 0.71% TypeScript 13.54% HTML 2.95% SCSS 1.18%

ticketing-app-laravel-dockerized's Introduction

Ticketing App

Usage

To get started, make sure you have Docker installed on your system, and then clone this repository.

Next, navigate in your terminal to the directory you cloned this, and spin up the containers for the web server by running

docker-compose up -d --build

Bringing up the Docker Compose network with site instead of just using up, ensures that only our site's containers are brought up at the start, instead of all of the command containers as well. The following are built for our web server, with their exposed ports detailed:

  • nginx - :3050
  • db - :3306
  • api - :8000
  • redis - :6379
  • client - :3000

migrate database of app t

docker-compose exec api php artisan migrate

to run seed files, execute

docker-compose exec api php artisan db:seed

*** NOW you can login ***

Account information

You can access your application via localhost, if you're running the containers directly [link] (http://localhost:3050)

API Collection of ticketing app on postman

ticketing app collection

API

  • implemented JWT based security in a test Core Web API REST project
  • perform queuing and caching using redis to avoid hit the database.

Authentication

  • Login
  • Me
  • Logout

Movies

  • Create
  • Update
  • Delete
  • Show

Halls

  • Create
  • Update
  • Delete
  • Show

Seats

  • Create
  • Update
  • Delete
  • Show
  • Get Seats with filter if available OR reseved

Reservations

  • Create
  • Update
  • Delete
  • Show

Show Times

  • Create
  • Update
  • Delete
  • Show
  • Get show times of movie based on movie id

Tests:

  • Create
  • Update
  • Delete
  • Show

Halls

  • Create
  • Update
  • Delete
  • Show

Seats

  • Create
  • Update
  • Delete
  • Show
  • Get Seats with filter if available OR reserved

Reservations

  • Create
  • Update
  • Delete
  • Show

Show Times

  • Create
  • Update
  • Delete
  • Show
  • Get show times of movie based on movie id

UI:

  • Using redux to handle the data flow within a component and reduce the complexity gf the application
  • Using HTTP_INTERCEPTOR to inject authorization http headers to every http request
  • Using angular material
  • Login page to start session
  • Show all movies
  • Show times of movie based on movie id
  • Select your seats and booking

ticketing-app-laravel-dockerized's People

Contributors

dev-el-badry avatar elbadry-dev avatar

Watchers

James Cloos avatar  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.