API for retrieving vehicles
Providing you have a local MySQL instance
Backend:
$ cd backend
$ go get
$ go build && ./backend
Frontend:
$ cd frontend
$ npm build
$ npm run dev
POST: http://localhost:5000/api/vehicle
GET: http://localhost:5000/api/vehicle
You can add the following URL params:
- make
- shortModel
- longMondel
- trim
- derivative
- free (will search all columns)
- page (defaults to 1)
Example: http://localhost:5000/api/vehicle?make=mercedes&shortModel=B&trim=SE
GET: http://localhost:5000/api/vehicle/:id
- drum445 ed - creator, maintainer