This repo contains the proxy of an Ikea clone. The proxy serves the static contents of a clone Ikea item detail page and will serve each service by making requests to the service bundles.
On deployment, this repo deploys via Docker, but can also run locally via Node.
Running and deploying this app should be fairly straight forward. The app can be deployed via Node or Docker. As this is a proxy, the primary step is generating the static contents by transpiling any React components via npm run build
.
The styling of this proxy uses Styled Components, so if the services this proxy serves also uses Styled Components there is a chance that the hash generated by styled components overlaps with those of another service. While the chance is low, it should be noted that this overlap is possible and may disrupt the styling of the item page in general.
- Node
- Webpack CLI
- MongoDB (for local development)
- Docker (optional for deployment)
From within the root directory:
npm install -g webpack webpack-cli
npm install