Skip to content

katiyarkartik0/News-Aggregator-API-Contd.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News-Aggregator-API-Cotd.

On top of the original News-Aggregator-API project, which included

  • validation and sanitization for user registration, by adding email validation.
  • Optimize performance by implementing caching
  • Error handling, ensuring that appropriate error messages are returned for different types of errors (e.g., validation errors, authentication errors, authorization errors, and server errors).

In this revision we have implemented the following

  • Unit testing by using testing framework mocha and assertion framework chai has been implemented to test API endpoints and helper functions, focusing on testing input validation and proper functioning of CRUD operations.
  • We made sure to achieve good test coverage using a coverage tool nyc. Below are the results of the test coverage.

image_name png

image_name png

image_name png

image_name png

image_name png

image_name png

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published