PostgresQL | KnexJs | AmazonRDS |
---|---|---|
- Configure a postgres database somewhere
- Replace the connection information in:
db/connection.js
db/knexfile.js
cd
into thedb
folder and with Knex installed run:knex migrate:latest
knex seed:run
- Head back to root and run
npm run dev
||yarn dev
- Use a client like postman to query
localhost:8163/samples
Which Router | Which Router |
---|---|