Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softchris/node-express-supertest
Node Express + API testing with supertest
https://github.com/softchris/node-express-supertest
Last synced: 16 days ago
JSON representation
Node Express + API testing with supertest
- Host: GitHub
- URL: https://github.com/softchris/node-express-supertest
- Owner: softchris
- Created: 2020-10-17T13:30:01.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-05T23:04:53.000Z (over 3 years ago)
- Last Synced: 2024-10-07T13:22:45.734Z (about 1 month ago)
- Language: JavaScript
- Size: 50.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a repo demonstrating how to:
- build a REST API using `Express`
- test the API using `supertest`The repo is part of a talk found at:
[YouTube video](https://www.youtube.com/watch?v=EIQgVdoYb0M?wt.mc_id=youtube-social-chnoring)
## Comments
Any comments on how I can help you further. I'm at [@chris_noring](https://twitter.com/chris_noring) on Twitter. My IMs are open. :)
## How to run
Install dependencies:
```bash
npm install
```Run tests:
```bash
npm test
```Run tests in _watch mode_
```bash
npm run test:watch
```## Further reading
- [Node.js path](https://docs.microsoft.com/en-us/learn/paths/build-javascript-applications-nodejs/?wt.mc_id=github-social-chnoring)
There is Node.js path on [LEARN platform](aka.ms/learn)
- [Build Web applications in Node.js](https://docs.microsoft.com/en-us/learn/modules/build-web-api-nodejs-express/?wt.mc_id=github-social-chnoring)