Check out the blog post.
- Fork/Clone
- Install dependencies -
npm install
- Add a .env file
- Create two local Postgres databases -
express_tdd
andexpress_tdd_testing
- Migrate -
knex migrate:latest --env development
- Seed -
knex seed:run --env development
- Run the development server -
gulp
- Test -
npm test