-
Clone the repository
git clone https://github.com/DimitarSD/vending-machine.git cd vending-machine
-
Install dependencies
npm install
-
Install
json-server
globally using npm:npm install -g json-server
-
Start the mocked API server
npx json-server --watch db.json --port 3001
-
Start the React development server
npm start
-
Open your browser and navigate to
http://localhost:3000
- 0.10 BGN
- 0.20 BGN
- 0.50 BGN
- 1.00 BGN
- 2.00 BGN