Skip to content

A sample project for a CPU store with a PHP Backend, and Angular Front-End.

Notifications You must be signed in to change notification settings

somaraani/cpu-store-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpu-store-demo

A sample project for a CPU store with a PHP Backend, and Angular Front-End.

This application consists of 3 parts, and they are all dockerized.

The docker-compose file also includes an NGINX container which is used as a reverse proxy, so that root / is redirected to the UI, while /api is redirected to the API. The default .env is setup for localhost, but if you want to host it somewhere else you must change those variables.

You can start everything up by running

docker-compose up 

In the root directory (where the docker-compose.yml) file is.

This should start everything up, however it may take a few minutes the first time to download all images and dependencies.

Once it's done (you can tell when you can see the database and server logs, specially Database initialized), you can access the UI at:

http://localhost

If the data doesn't load initially, give it a few seconds and refresh your browser, since it's possible the DB/Server weren't completely done setting up.

About

A sample project for a CPU store with a PHP Backend, and Angular Front-End.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published