Skip to content

ErickWendel/complete-nodejs-webapi-without-frameworks-yt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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 so I'll let you know about all the content I've been producing

Source code of the examples showed in class

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 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

  • As soon as you've been finishing the tasks, comment on the Youtube video so all other students can be pushed forward by your efforts

Have fun!

About

Examples and challenges of my video about Creating and testing a complete Node.js Rest API (Without frameworks)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published