codyfyi / express-testing-mocha-knex

testing an express app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing Node and Express

Want to learn how to build this project?

Check out the blog post.

Want to use this project?

  1. Fork/Clone
  2. Install dependencies - npm install
  3. Add a .env file
  4. Create two local Postgres databases - express_tdd and express_tdd_testing
  5. Migrate - knex migrate:latest --env development
  6. Seed - knex seed:run --env development
  7. Run the development server - gulp
  8. Test - npm test

About

testing an express app

License:MIT License


Languages

Language:JavaScript 93.2%Language:HTML 6.4%Language:CSS 0.4%