Welcome to a RESTful API based featherweight project that is about compact long url into a shorten one.
git clone https://github.com/FatefulNur/route-press.git
- Open terminal and run:
cd <project-name>. - Install dependency:
composer install. - Copy
.env.examplefile into.env. - Database configuration:
- name:
route_press. - username: Your database user.
- password: Your database password.
- name:
- Generate app key:
php artisan key:generate. - Migrate database:
php artisan migrate. - Install any api client to test your project.
Note: Don't forget to set Accept: application/json request header for each api endpoint you have.
To see available route for api run: php artisan route:list --path=api.
I hope you feel good to see this. THANKS.