Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rezoanulhasan/sell-tickets-laravel
https://github.com/rezoanulhasan/sell-tickets-laravel
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rezoanulhasan/sell-tickets-laravel
- Owner: RezoanulHasan
- Created: 2023-12-21T12:49:07.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-21T21:57:03.000Z (11 months ago)
- Last Synced: 2023-12-21T22:37:34.335Z (11 months ago)
- Language: PHP
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project: Online Ticket Selling
## API
API for managing trips and tickets## Endpoints
### 1. Show Trip Form
- **Endpoint:** `/trip/form`
- **Method:** `GET`
- **Description:** Show trip form for creating a trip### 2. Store a New Trip
- **Endpoint:** `/trip/store`
- **Method:** `POST`
- **Description:** Store a new trip### 3. Show Available Seats for a Trip
- **Endpoint:** `/trip/seats`
- **Method:** `GET`
- **Description:** Show available seats for a trip and booking info### 4. Purchase a Ticket
- **Endpoint:** `/trip/purchase`
- **Method:** `POST`
- **Description:** Purchase a ticket### 5. Show All Trips
- **Endpoint:** `/`
- **Method:** `GET`
- **Description:** Show all trips information## Run locally
- Clone the repository
- npm install
- php artisan serve