Skip to content

RakibulRanak/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

Support

Buy me a Coffee

Sign up to DigitalOcean I 💖 DigitalOcean

Subscribe on YouTube

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.0%
  • JavaScript 1.0%