The ExpressJS PostgreSQL with migrations and seeds using knex (ES6 Style).
- Node JS ^17
- PostreSQL ^13
- Install requirements and create your database.
- Clone this repo.
- Change directory to cloned repo.
- npm install
- Fill src/knexfile.js with your database credential.
- npx knex migrate:latest --knexfile=src/knexfile.js
- npx knex seed:run --knexfile=src/knexfile.js
- npm run dev.
- Go to browser and enter 'http://localhost:3000/users-with-phone-numbers' on the address bar to get users data.
- done.