Angular2 pizza delivery App
-
Install Prerequisite - npm and node (at least node 6.9.x and npm 3.x.x )
-
Clone the Repository
-
Installing JSON Server using npm $ npm install -g json-server
-
Running The Server Go inside Pizza_Delivery Folder and run command $ json-server --watch order.json
Keep the server running
-
Open git command prompt
Go inside Pizza_Delivery Folder and run command $ npm install -
After installing node_modules , run command $ npm start and now open http://localhost:4200 in your browser
-
After npm server started Select Pizza by clicking 'Order Now' and you will see yuor cart is updated on left side of the screen.
-
Click on Cart to Place order
-
Enter User Details and then Click on 'Click To confirm Order'
-
Now you are able to see Your order.
-
Click on Place Order and You will see the confirmation message.
-
and then see that Your order.json is updated see the file Pizza_Delivery > order.json