This system provide a API for admin colors.
This system has two roles:
- Admin
- User
Clone the repository
git clone https://github.com/feliperamosguillen/colors-api.git
Switch to the repo folder
cd colors-api
Install all the dependencies using composer
composer install
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Generate a new JWT authentication secret key
php artisan jwt:generate
Run the database migrations and seed database (Set the database connection in .env before migrating)
php artisan migrate --seed
Start the local development server
php artisan serve
You can now access the server at http://localhost:8000