Enables users to interact with backend services while carrying out window shopping; For example, pre-logging (user registration and login) and managing products, shops, and user-bags (myBags).
For building and running the application you need:
- react-dom version - 18.2.0
- axios version - 0.27.2
- jwt-decode version - 3.1.2
- joi version - 17.6.0
- react-toastify version - 9.0.8
- react-loader-spinner version - 5.1.7-beta.1
There are several ways to run this (React
application) on your local machine. On your favorite IDE terminal navigate to main directory. In this case shoppingbag-frontend
.
Run
npm install
command first, to install required packages like so:
npm install
Then, run
npm start
, to kick off application
npm start
Alternatively, with Docker installed on your platform:
Run
npm install
command to install packages as mention above. Finally,docker-compose up
.
docker-compose up
OR, run docker image (
maluki/shoppingbag-frontend:0.0.1-SNAPSHOT
) like so:
docker pull maluki/shoppingbag-frontend:0.0.1-SNAPSHOT
finally, run image in the container
docker run -p 3000:3000 maluki/shoppingbag-frontend:0.0.1-SNAPSHOT
To view the running application move to http://localhost:3000
on your favorite browser.
Released under the MIT License. See the LICENSE file.