sample backend using express.js, knex.js, and amk plugins
- node.js
- install dependencies
npm install
- copy
.env.example
to.env
and update the values' - run the app
npm start
- call the api endpoint
curll http://localhost:3000/persons
- run
npm run migrate
- run
npm run seed
- refer to
knexfile.js
for other configuration
- make sure dependencies are installed
- run
npm test