- Clone the project
git clone
- Enter Frontend
cd frontend
- Install dependencies
npm install
- Run the Frontend
npm run dev
- Enter Backend
cd backend
- Install dependencies
composer install
- Run
cp .env.example .env or copy .env.example .env
- Run
Run php artisan key:generate
- Run the Backend
php artisan serve
Method | Endpoint | Description |
---|---|---|
POST | /api/v1/register | Register a user |
POST | /api/v1/login | Login a user |
-
Open postman
-
Send a POST request to
/api/v1/register
to register a user- The request body should be in JSON format
- The request body should contain the following fields exemple:
{ "name" : "Admin", "role" : "Admin", "email" : "admin@gmail", "username" : "admin", "password" : "adminadmin", "password_confirmation" : "adminadmin" }
- The request body should be in JSON format
-
Send a POST request to
/api/v1/login
to login a user- The request body should be in JSON format
- The request body should contain the following fields exemple:
{ "username" : "admin", "password" : "adminadmin" }
- The request body should be in JSON format
- SignIn Page :
- Agents Page :
- Dashboard Page:
- Parcelles Page: