This project is a REST API that allows you to manage the rent of a property. It allows you to create, read, update and delete properties, tenants and rents. It also allows you to filter properties by city and to filter tenants by property. The project is developed in Laravel 11.
- Clone the repository
git clone https://github.com/Arg39/kelompok-3-finalproject-backend.git
- Install the dependencies
composer install
- Create a new database
Database name: rentid
- Copy the .env.example file and rename it to .env
cp .env.example .env
- Generate the application key
php artisan key:generate
- Run the migrations with seed
php artisan migrate --seed
- Run jwt secret key
php artisan jwt:secret
- Start the server
php artisan serve
The API documentation can be found here