REST API using golang fiber with React on frontend
https://tuxrace.github.io/golang-api-fiber/.
npm install
npm run start:devThis will run both front end and back end
| Method | API |
|---|---|
| GET | /api/appliances |
| GET | /api/appliances/1 |
| POST | /api/appliances |
| DELETE | /api/appliances/1 |
| GET | /api/appliances-search?category=model&search=Tub |
CURL /api/v1/appliancesCURL -X POST -H /api/appliances --data "{\"serial_number\": \"1111\", \"brand\": \"Mayer\",
\"model\": \"Gas Range\"}" /api/v1/appliancesCURL /api/v1/appliances/1CURL -X DELETE /api/v1/appliances/1