sample backend using express.js, knex.js, and amk plugins
- node.js
- install dependencies
npm install - copy
.env.exampleto.envand 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.jsfor other configuration
- make sure dependencies are installed
- run
npm test