https://github.com/carlos-vargs/api-library
simple api
https://github.com/carlos-vargs/api-library
laravel8 mysql php
Last synced: 3 months ago
JSON representation
simple api
- Host: GitHub
- URL: https://github.com/carlos-vargs/api-library
- Owner: Carlos-vargs
- Created: 2021-12-02T19:27:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T20:58:27.000Z (about 3 years ago)
- Last Synced: 2025-01-10T13:51:42.440Z (5 months ago)
- Topics: laravel8, mysql, php
- Language: PHP
- Homepage:
- Size: 89.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API-LIBRARY
API-LIBRARY is a simple API
## Installation
Use Git Clone Command [git clone](https://git-scm.com/docs/git-clone) to install API-LIBRARY.
```bash
git clone https://github.com/Carlos-vargs/api-library.git api
cd api
```
## Usage```php
# You will need generate .env file by running
$cp .env.example .env
$php artisan key:generate# After generating the .env file, you need to
# Configure the database and run the migrations
# The "DB_PASSWORD" is optional depending on
# Your configuration in mysqlDB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=library
DB_USERNAME=root
DB_PASSWORD=# command to run migrations and start the server
$php artisan migrate
$php artisan serve```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.