-
Pull the project from git provider
git clone https://github.com/nahapet93/car-catalogue.git
-
Go to frontend dir
cd frontend
-
Run
npm i
-
Run
npm run dev
-
Go to backend dir
cd backend
-
Copy
.env.example
file to.env
inside your backend root and fill the database information. -
Specify
FRONTEND_URL
as the Vite url (for example http://localhost:5173) -
Run
composer install
-
Run
npm i
-
Run
php artisan key:generate
-
Run
php artisan migrate:fresh --seed
-
Run
php artisan config:cache
-
Run
php artisan serve
-
Copy
env
file toenv.local
inside the frontend folder -
Specify
VITE_API_URL
as the backend url -
Go to frontend url, click Login
-
Log in using these credentials - admin@example.com / 12341234
-
Notifications
You must be signed in to change notification settings - Fork 0
nahapet93/car-catalogue
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Test task for CodeIdea
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published