Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpedroschmitz/jest-mongodb
An example of a simple API, that uses MongoDB as a database and Jest for testing.
https://github.com/jpedroschmitz/jest-mongodb
express jest mongodb nodejs
Last synced: 21 days ago
JSON representation
An example of a simple API, that uses MongoDB as a database and Jest for testing.
- Host: GitHub
- URL: https://github.com/jpedroschmitz/jest-mongodb
- Owner: jpedroschmitz
- Created: 2019-11-17T02:24:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T14:28:50.000Z (11 months ago)
- Last Synced: 2024-10-04T15:22:11.140Z (about 1 month ago)
- Topics: express, jest, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 102 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jest e MongoDB
This repository contains an example of a simple API, that uses mongo as a database, and Jest for testing.
## Packages used for testing:
- **mongodb-memory-server**: Downloads and spins up a real MongoDB server and holds the data in memory;
- **supertest**: Library for testing node.js HTTP servers;