- Admin :
- username = admin1
- password = password
- Approver:
- username = approver1
- password = password
- Vite + React JS (Frontend) : npm version 10.5.2
- Docker
- PHP (Backend)
- Postgresql (database) : version in docker 16-alpine
- Clone this repository with command
git clone https://github.com/SulthanDA28/TechTest_SM.git
- After clone this repository, make sure device have docker. If don't have, install in this link
- After install docker, you can start to build this application
- Prepare two terminal, one for frontend and other terminal for backend
- For frontend you can go to folder
Frontend
cd Frontend
- Build the frontend with this command
npm install npm run dev
- Wait until the frontend finish build. If the link
http://localhost:5173/
appear, frontend finish build and you can build the backend
- For backend you can go to folder
Backend
cd Backend
- Build the frontend with this command
docker compose up -d
- Wait until the backend finish build. You can test is the backend has to build with this
http://localhost:8008/index.php/approver
- For frontend you can go to folder
- The application ready to use
If any problem in this project, can contact me with this
- Phone : 08975824782
- Email : dzakysultan30@gmail.com