- Install database
$ docker-compose up
$ psql -h localhost -p 5432 -U user -d songs
- Setup db
$ npx knex migrate:latest # creates table
$ npx seed:run # inserts 1 row
- Install dependencies and run app
$ npm install
$ npm run start
- Use curl or some other REST client to validate
$ npx knex migrate:make <INSERT_MIGRATION_NAME_HERE> # creates a new migration file
- properly type uuid
- add updatedAt and createdAt for rows
- use test db instead of dev db for tests
- better client error messages
- authentication
- dockerize service
- Node (v15.7.0)
- Typescript (v4.4.3)
- koa (server)
- knex (pg connection)
- Docker
- PostgresQL