The project is a virtual wallet system built with Laravel 8 and Google Geocoding API. The features of this project include
- Admin Authentication
- Generation of promo codes
- Management of promo codes
Clone the repository to your local machine by running the terminal command below.
git clone https://github.com/Ojsholly/safeboda-promocode
Create your a MySQL database and note down the required connection parameters. (DB Host, Username, Password, Name)
Navigate to the project root directory via terminal and run the following command.
composer install
Run the following command
cp .env.example .env
This should create an exact copy of the .env.example file. Name the newly created file .env and update it with your local environment variables (database connection info and others).
php artisan key:generate
php artisan migrate
GOOGLE_MAPS_API_KEY
Examples of requests and the response for each endpoint can be found here