Written as a University - Project. The complete Setup was realized wit Docker. A Reverse-Proxy was used for https. The backend is written in PHP with Slim. Frontend is written with Angular6. Authentication works via JWTs.
You already need to have Docker installed on your machine. But that is it for requirements. Everything else will be installed inside the containers.
- pull the whole project
./rev-proxy/certs/make_certs.shto generate certificates for https- navigate back to the root directory and execute
docker-compose upto bring the servers up - connect to the database(MariaDB) via
- Host: localhost
- database name: webshop
- user: api
- password: api
- execute the database setup script located at database/create_db.sql
- here you can also take a look ate the database architecture -- DB_Architecture.png
- An admin account has to be made manually to unlock the admin area as well otherwise you want get to see the admin area
- Navigate to
api.webshop.atand accept the certificate - Now you can navigate to
localhost:4200to use the application