- Andrew Devito Aryo [Software Engineer]
- Carleano Ravelza Wongso [Software Engineer]
- Clara Aurelia Setiady [UI/UX]
- Clone repository by using
git clone https://github.com/Econspace-Batch-2/ecospace-web.git
- Install all Laravel dependencies by using
composer install
- Copy all needed env from
.env.example
to.env
by usingcp .env.example .env
- Generate APP_KEY inside .env by using
php artisan key:generate
- Setup by adding credentials to the database (Can be PSQL, MySQL, etc). Here's an example:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database DB_USERNAME=your_username DB_PASSWORD=your_password
- Migrate the models to database using
php artisan migrate
- Install all Client Side dependencies using
npm install
- The setup is completed. Now running Vite for the client side using
npm run dev
(if run correctly, it should be running onlocalhost:5173
) - Don't forget to run the Laravel too by using
php artisan serve
(If run correctly, it should be running onlocalhost:8000
) - Try to open
localhost:8000
, and now it should be running peacefully 🎉🎉