Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mazbaul/apilaravel
https://github.com/mazbaul/apilaravel
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mazbaul/apilaravel
- Owner: Mazbaul
- Created: 2019-12-26T14:27:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T10:00:04.000Z (almost 2 years ago)
- Last Synced: 2023-02-27T12:56:38.271Z (over 1 year ago)
- Language: PHP
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
1.Php 7.2 or higher## Set up this project
1. Clone repository
2. Run `composer install`
3. Run `php artisan key:generate`
4. Set up `.env` file and set db name in .env
5. Run `php artisan wild:card`
6. Project will run in this link: http://127.0.0.1:8080/
7. admin username:[email protected] ,password:123456## API Url List
1. login[POST] - http://127.0.0.1:8080/api/login
2. all[GET] - http://127.0.0.1:8080/api/values
3. one or more[GET] - http://127.0.0.1:8080/api/values?tasks=1,2
4. insert[POST] - http://127.0.0.1:8080/api/values
5. update[PUT] - http://127.0.0.1:8080/api/values/1