CRUD app using native PHP as API
Step-by-step instruction.
- Install and setup docker
- Make sure docker is installed properly
docker --version
docker-compose --version
- Navigate/change directory to project root directory ex: basic-app
cd basic-app
- Make sure docker is running after installing Docker desktop open docker desktop
- Let docker desktop open
- Back to terminal where we
cd
run the commands
cd <project_root>
docker-compose build
docker-compose up -d
- In docker desktop "containers" tab you should see a container running
basic-app
- Open browser and navigate to
http://localhost
- Play with the app