An open API service indexing awesome lists of open source software.

https://github.com/mitchi-02/train-booking-platform-api

This is a Rest API for a train booking platform, built with Laravel 9, MySQL, Stripe and Vonage.
https://github.com/mitchi-02/train-booking-platform-api

jobs laravel9 mysql php8 queues repository-pattern stripe vonage

Last synced: 7 months ago
JSON representation

This is a Rest API for a train booking platform, built with Laravel 9, MySQL, Stripe and Vonage.

Awesome Lists containing this project

README

          

# Train Booking API

A Rest API for a train booking platform, built with Laravel 9 (Repository Design Pattern), MySQL, Stripe and Vonage.

It handles user authentication, admin features, customer support features, travels management, stations management and booking management This is an academic project I built with my team.

## Get Started
Don't forget to change your env variables: db connection, email credentials, stripe and vonage keys.
```
cp .env.example .env
composer install
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan storage:link
php artisan ser
```
In another shell, start the background queue that handles notifications and jobs using the command:
```
php artisan queue:work
```