Testing NodeJS APIs with Express and MongoDB using Jest and Supertest Steps Create a server with the basics from the API Authenticated endpoints to test in the future Set up Jest + Supertest Writing the first test Testing the REST API