Skip to content
/ amk Public

Simple backend example using Node.js and Express.js

License

Notifications You must be signed in to change notification settings

amkjs/amk

Repository files navigation

AMK

sample backend using express.js, knex.js, and amk plugins

Pre-requisites:

  • node.js

How to run

  1. install dependencies npm install
  2. copy .env.example to .env and update the values'
  3. run the app npm start
  4. call the api endpoint curll http://localhost:3000/persons

Initialize DB and seed data

  1. run npm run migrate
  2. run npm run seed
  3. refer to knexfile.js for other configuration

Tests

  1. make sure dependencies are installed
  2. run npm test

License

Apache-2.0

About

Simple backend example using Node.js and Express.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •