This repository is the Express backend for FarePlay, the cutting-edge ride-hailing aggregator that simplifies the process of finding the best ride-hailing options for your destination. With FarePlay, users can easily compare prices and select the most suitable ride-hailing application based on their preferences and budget.
- Node.js (tested on v18.3.0)
- MySql (tested on v8.0.33)
To setup FarePlay backend, follow these steps:
-
Clone the FarePlay repository to your local machine:
git clone https://github.com/shadowezz/fareplay.git
-
Install the necessary dependencies:
cd fareplay npm install
-
Follow the
.env.example
template to create a.env
file with the corresponding config parameters -
Create the
Session
table in your database by executing thescripts/database/sessions.sql
script -
Start the express server:
npm run dev
-
FairPlay backend is now running at
http://localhost:5001
in your web browser.