This repository contains the backend part of the Settima web platform project, built with Laravel. After setting up backend, follow instructions for frontend in README: https://gitlab.hof-university.de/settima/settima
Follow these steps to set up and run the project:
- Clone the backend repository:
git clone https://gitlab.hof-university.de/settima/settimabackend
- Install PHP dependencies:
composer install
- Install JavaScript dependencies:
npm install
- Create a copy of the .env file:
cp .env.example .env
- Generate an application key:
php artisan key:generate
- Configure your database in the .env file:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
- Run database migrations:
php artisan migrate
- Seed the database with sample data:
php artisan db:seed
- Start the development server:
php artisan serve
The server should now be running at http://localhost:8000.
After finishing all the steps, follow instructions in frontend README: https://gitlab.hof-university.de/settima/settima