This project is the development of a destination review and recommendation application built as the final project of a mobile web programming course from the university. Created using the Lumen framework by implementing the SDLC waterfall method, REST API architecture, MySQL for the database, Auth Token for the authentication function. The things that have been done during the application development period, including: collecting requirements, designing UML and tables, implementing the design (coding) and the result is an endpoint that is consumed by the front-end.
Feature:
- Auth (Register, Login, Logout)
- User (Profile, Update)
- CRUD Destinasi
- CRUD Review
Relation:
- Users and Reviews (One to Many)
- Destinasi and Reviews (One to Many)
HTTP Header (Auth):
- token
API documentation can be accessed via https://documenter.getpostman.com/view/20083017/2s93sjVUjb
-
Create MySQL database
-
Clone Repository
git clone https://github.com/FarhanKurnia/REST-API-PWA-Lumen.git -
Install Dependency
composer install -
Copy and Set up environment
cp .env.example .env -
Customize environment (.env) files with DB name that has been created.
-
Migrate and seed table
php artisan migrate --seed -
Run local server
php -S localhost:8000 -t public
