A simple product management app using React & Redux 📦
This is my Kodefox's practice for client/server app using:
Clone repository git clone https://github.com/tevinstein/coolest-product-app.git
- Go to server directory:
cd server
- Install packages:
npm install
- Run the server:
npm start
- Server is located on:
http://localhost:3000
URL | Method | Description |
---|---|---|
/products | GET | Show all product from file products.json |
/products/add | POST | Add a product data and update file products.json |
/products/:id/edit | POST | Edit a product data and and update file products.json |
/products/:id/delete | GET | Delete a product data and and update file products.json |
- Run server: See Server Installation
- Go to client directory:
cd client
- Install packages:
npm install
- Run application:
npm start
- Access the app on your browser:
http://localhost:8080