- Node.js
- yarn
Create the .env
file into server
path and add the following properties
PORT=7000
Go to server path
cd server
Install dependencies
yarn
Init the server in development mode
yarn dev
- Search Products: Open
http://localhost:7000/api/items?q={your_query}
- Product Detail: Open
http://localhost:7000/api/items/{product_id}
Go to server path
cd client
Install dependencies
yarn
Run project
yarn start