REST API to manage authentication and services from SpaceArt.
ATTENTION! This repository was created after the commit ad0a4b4 from MrXacx/spaceart
Before you begin, ensure you have met the following requirements:
-
PHP: Make sure you have PHP 8.1 or higher for running the API. You can download it here.
-
Composer: Make sure you have Composer installed on your system to install our dependencies. You can download it here.
-
Laragon: Make sure you have Laragon server to host the PHP files and the database. You can download it here.
-
Git: Make sure you have Git to clone our project. You can download it here.
To get started with the API SpaceArt, follow these steps:
- Clone the repository to your local machine using the following command:
git clone https://github.com/MrXacx/api-spaceart.git
- Install the project dependencies:
composer install
- Generate your laravel key:
php artisan key:generate
- Start server on Laragon
- Insert your DBMS credentials into environment variables (.env):
DB_CONNECTION=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE= DB_USERNAME= DB_PASSWORD=
- Run the migrations:
php artisan migrate
- Optionally, seed your database with mocked data:
php artisan db:seed