Skip to content

TomDoesTech/Testing-Express-REST-API

Repository files navigation

Testing Express REST API

Key takeaways

  • An understanding of how important testing is
  • Testing doesn't have to be complicated or difficult

What will you learn?

  • Testing a REST API end-to-end with Supertest & mongodb-memory-server
  • Mocking services
  • Testing from the controller to the service

Read: https://github.com/goldbergyoni/javascript-testing-best-practices

What you will need

What next?

  • Testing the API with Jest
  • Build a React.js user interface
  • Add Prometheus metrics to the API
  • Deploy the API with Caddy & Docker
  • Add Google OAuth

Data flow

Let's keep in touch

Buy me a Coffee

Sign up to DigitalOcean 💖

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published