- PHP Ver. 8.2.0
- phpMyAdmin Ver. 5.2.0
- Backend : NodeJs
- Frontend : ReactJs
- Clone the Repo
https://github.com/rdhhauzan/voffice-test.git
- Install Requirement for Backend
- Change the config file according to your database on backend/config/config.json
"development": {
"username": "your database username",
"password": "your database password (set to null without quotation mark if your database dont have a password)",
"database": "voffice-test",
"host": "127.0.0.1",
"dialect": "mysql"
},
- Create DB and Migrate
npx sequelize-cli db:create
npx sequelize-cli db:migrate
- Move to Frontend Folder
- Install Requirement for Frontend
- Run Backend Server
- In new terminal, Run Frontend
- If you run the app, make sure you have 2 terminals open because you are running 2 servers at the same time
- Make sure you run the backend server on port 3000