Skip to content

Sample API tests with Supertest, running against a simple REST API

Notifications You must be signed in to change notification settings

stefanteixeira/demo-supertest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-supertest

This project contains a simple REST API created with Express, along with automated API tests using Supertest and Promises.

Requirements

The API is configured to connect to a MongoDB database at localhost:27017.

Setup

  • Start MongoDB
  • Install dependencies: npm install
  • Start the application: node server.js
  • Run tests: npm test

About

Sample API tests with Supertest, running against a simple REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published