Coder Social home page Coder Social logo

busreservations's Introduction

Introduction

The goal of this project is to implement a building a fleet-management system (bus-booking system) using the latest version of the Laravel Framework.

Setup

Built using php 8.15 & laravel 9.

After installing the mentioned requirements above.

  1. Clone the repo
  2. In the .env file add database connection configuration. For simplicity I have been using sqlite, but any database vendor can be used.
DB_CONNECTION=sqlite
DB_DATABASE='absolute/path/to/db.sqlite'
  1. Run database migrations with demo data
php artisan migrate:fresh --seed
  1. Run the server
php artisan serve

Features

  • Authentication service
    • Responsible for user registeration & login.
  • Administration service
    • Where operations team can manage operations like creating new trips lines & add new cities.
    • Only users with Admin role can perform these actions.
  • Reservations service
    • Service used by customers to create & check reservations.

APIs

Database tables

  • Cities
    • List of available cities to be used in trip configuration.
  • Users
    • list of system users.
  • User Assigned Roles
    • List of roles assigned to certain user.
  • Trips
    • List of trips, and it configuration like departure city, arrival city & max number of seats.
  • Reservations
    • List of reservations made by the user against certain trip.
    • Each reservation is recorded in a separated row.

busreservations's People

Watchers

 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.