Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erickwendel/complete-nodejs-webapi-without-frameworks-yt
Examples and challenges of my video about Creating and testing a complete Node.js Rest API (Without frameworks)
https://github.com/erickwendel/complete-nodejs-webapi-without-frameworks-yt
fetch javascript node nodejs runner test testing
Last synced: 3 days ago
JSON representation
Examples and challenges of my video about Creating and testing a complete Node.js Rest API (Without frameworks)
- Host: GitHub
- URL: https://github.com/erickwendel/complete-nodejs-webapi-without-frameworks-yt
- Owner: ErickWendel
- Created: 2022-05-13T14:09:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T21:37:20.000Z (over 2 years ago)
- Last Synced: 2024-04-15T04:11:55.264Z (7 months ago)
- Topics: fetch, javascript, node, nodejs, runner, test, testing
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 161
- Watchers: 3
- Forks: 33
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building a complete Node.js WebApi + testing with no frameworks
Welcome, this repo is part of my youtube video about Creating and testing a complete Node.js Rest API (With no frameworks).
First of all, leave your star 🌟 on this repo.
Access our [**exclusive telegram channel**](https://bit.ly/ErickWendelContentHub) so I'll let you know about all the content I've been producing
## Source code of the examples showed in class
- Access them in [examples-in-class/web-api](./examples-in-class/web-api)
## Features Checklist + Challenges- Web API
- [ ] it should have an endpoint for storing heroes' data
- [ ] it should have an endpoint for retrieving heroes' data
- [ ] it should have an endpoint for updating heroes' data
- [ ] it should have an endpoint for deleting heroes' data
- [ ] it should test when the application throws an error- Testing
- Unit
- [ ] it should test all files on the routes layer
- [ ] it should test all files on the repositories layer
- [ ] it should test all files on the factories layer
- Plus
- [ ] it should reach 100% code coverage (it's currently not possible to get code coverage metrics using only the native Node.js, see [c8](https://www.npmjs.com/package/c8) for this task)- Integration / E2E
- [ ] it should test the endpoint for storing heroes' data
- [ ] it should test the endpoint for retrieving heroes' data
- [ ] it should test the endpoint for updating heroes' data
- [ ] it should test the endpoint for deleting heroes' data
- [ ] it should test when the application throws an error### Notes
- Should you have some difficulties solving the problems, please comment on the [**Youtube video**](https://youtu.be/xR4D2bp8_S0)- As soon as you've been finishing the tasks, comment on the [**Youtube video**](https://youtu.be/xR4D2bp8_S0) so all other students can be pushed forward by your efforts
## Have fun!