SunBnb is a intern project
- Vue 3 (Compostion api)
- Laravel 10
- Mysql
- Vuetify
- Node V20.4.0
- Npm V9.7.2
- Composer V2.5.8
- clone repo from git
git clone [email protected]:framgia/pj_sim-sunbnb.git
- change directory to the project name
cd pj_sim-sunbnb
- go to frontend folder
cd fe
- install packages
npm install
- copy .env from .end.example
cp .env.example .env
- run development
npm run serve
- go to backend folder
cd be
- install composer
composer install
- copy .env from .end.example
cp .env.example .env
- change database details in .env
- generate a key that updates .env
php artisan key:generate
- run development
php artisan serve
- update your ubuntu
sudo apt update
- install mysql
sudo apt install mysql-server
- start mysql
sudo service mysql start
- change your password of root
sudo mysql_secure_installation
- change your password withat least 8 character that contains at least 1 special character 1 Capital letter and 1 number
- login to your mysql
mysql -u [username(default: root)] -p
- then enter your password