/BlogFever-API

A Rest API with full backend architecture for a blogging site having cutting edge error handling.

Primary LanguageJavaScript

BlogFever API

Backend API for a blogging website.

User characteristics - signup, login, logout, profile picture, follow/ unfollow, followers/ following, blogs written-saved and details (likes- dislikes-saves) about them, update your profile details, like/ dislike/ save a blog

Blog characteristics - author, likes-dislikes-saves count and user info, CRUD authorization (accessible by author only)

Error Handling - Effective implementation with each API call tested (with POSTMAN) and every possible error handled. A proper JSON response is sent for each error (status-code and message).

Security - noSql Injection protection, XSS protection (Cross Site Scripting), Rate Limiter, HPP protection (HTTP Parameter Pollution)

Usage

Make it your own: Open the ".env" file and update the values/ settings to your own.

Import to POSTMAN (Use the live API)- https://documenter.getpostman.com/view/15467964/TzecD5dH

Install Dependencies

npm install

Run App

nodemon app

-License: MIT