https://github.com/carlos-vargs/api-store
Simple token-based API using Laravel Sanctum
https://github.com/carlos-vargs/api-store
api laravel
Last synced: 3 months ago
JSON representation
Simple token-based API using Laravel Sanctum
- Host: GitHub
- URL: https://github.com/carlos-vargs/api-store
- Owner: Carlos-vargs
- Created: 2021-08-24T14:13:18.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-01T21:09:33.000Z (over 3 years ago)
- Last Synced: 2025-01-10T13:51:39.139Z (5 months ago)
- Topics: api, laravel
- Language: PHP
- Homepage:
- Size: 321 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API-STORE
API-STORE is a simple token-based API to perform different actions
## Installation
Use Git Clone Command [git clone](https://git-scm.com/docs/git-clone) to install API-STORE.
```bash
git clone https://github.com/Carlos-vargs/api-store.git myApiStore
cd myApiStore
```
## 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=store
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.