- make sure you installed MongoDB and make MongoDB running
- You can change the MongoDB url in
server.js
mongoose.connect('mongodb://localhost:27017/ai_test')
- run the script make frontend and backend started
npm run start-all
- React
- axios
- mongoose
- express
- mongodb
- Create: methode:post,url:api/product
- Read: methode:get,url:api/search/{keyword}
- Update: methode:put,url:api/product/{product_id}
- Delete methode:delete,url:api/product/{product_id},