A backend app that stores a shopping cart in a database with a frontend app that serves the user the cart.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
To get a local copy up and running follow these simple steps.
Make sure that the following prerequisites are installed with the required version.
-
node
node --version
-
yarn
yarn --version
-
docker
docker --version
A quick way to run the server app without installing all dependencies locally, is through Docker.
- Clone the repo
git clone https://github.com/MoFarid/cart.git
- Navigate to
backendand run the server using Dockercd backend yarn docker:prod - Navigate to
frontendand run the client app usingcd frontend yarn install yarn start
The client app will be running on port 3000 and the backend server will be running on port 5000.