API Docs Api Docs
This is the backend api for learn-hub community portal.
The following tools are required in order to start the installation.
- Clone this repository with
git clone https://github.com/chimobi-justice/learn-hub-backend.git
- Change directories into learn-hub-backend
- cd learn-hub-backend
- Run
composer install
to install the PHP dependencies - Set up a local database called
learn-hub
or create a sqlite databse with
- touch database/database.sqlite
- Create the .env file by duplicating the .env.example file
- cp .env.example .env
- Set the APP_KEY value
- php artisan key:generate
- Set the JWTAuth secret key used to sign the tokens
- php artisan jwt:secret
- Start the application
You can now visit the app in your browser by visiting http://learn-hub-backend.test.
CLOUDINARY_URL=
The Learn-hub community portal is currently maintained by Justice Chimobi. If you have any questions please don't hesitate to create an issue on this repo.