- Install
docker compose - navigate to the root directory
- Run the command
sudo docker compose -f docker-compose.yml up -d --build - Visit URl
http;//localhost:3000 - To stop the docker run
sudo docker compose -f docker-compose.yml down
- Note: Based on the version of docker compose execute either with
docker composeordocker-compose
-
Move to
apifolder -
Run the command
npm install -
Run the command
npm run dev -
If the
apiorwwwapp fails to run, please restart theapiapp due to Typescript transpile -
In another terminal, move to
wwwfolder -
Run the command
yarn -
Run the command
yarn dev -
Visit URl
http;//localhost:3000
Notes:
The main client should be able to place a promotional full banner on the top, middle, or bottom of the product list page.: This one could be achieved via a separate app for client or a separate page for authenticated users. Due to lack of time, this is not considered in the app development