✔️ List, create, edit, and delete products;
✔️ List, create, edit, and delete categories;
✔️ Show contact us page with contact form;
✔️ Show about page with developers info;
✔️ Show a home page with the differentials of our pet shop.
This application was made to run with Docker, and the how to run instructions is written to be used with it, so just use Docker, because everything you need will be installed on the containers. But if you want to run this project without Docker anyway, you can use a WampServer or similar:
After configuring Docker, clone this repository:
git clone https://github.com/ruliancruz/calendario-simples.git
After that, all you need to do to run the application is starting Docker containers:
docker compose up --build
It will start test container too, if want only the main application, run it instead:
docker compose up --build app
Now you can access the application through http://localhost:8000/ route.
The database container will start without a database created, so you will need to run scripts to create and migrate it.
First, with the application container running, run a bash on it:
docker exec -it app bash
After that, run the reset script inside the container:
php database/scripts/reset.php
You can instead recreate database or run migrations separately if you want.
To recrate run:
php database/scripts/recreate.php
To migrate run:
php database/scripts/migrate.php