- Makefile
- Docker
- Docker-compose
Copy Example .env
file
$ cp .env.example .env
set .env
values as expected
In order to build & run docker containers, run below command:
$ make up
In Order to make project ready, run below command:
$ make provision
now you can access to project via browser ( link provided after make up command
)
you can stop project by running
$ make down
-
Authentication simulated & you're open website as user id
1
. authentication can be completed byAuth
class completion and addinglogin
logout
, etc pages. -
I made a simple framework for this project consist of
- Router
- Request wrapper (for security & code style simplicity)
- PDO DB
- Config (read from
.env
file) - Controller
- Repository
- Views
- Layout