Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.84 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.84 KB

Nodejs Blog REST API

License: MIT

Description

This repository contains a straightforward React blog application with a RESTful API integration, designed specifically for educational purposes, particularly for teaching on Udemy. It serves as a practical example of how to integrate React with a backend API built using Node.js.

Table of Contents

Installation

Install MongoDb Database

git clone git@github.com:jahidhiron/raect-blog-app.git
cd raect-blog-app
npm install

Usage

npm start

Features

  • Authentication and Authorization
  • Add, Update, Delete blog posts
  • Search and filter blogs with pagination
  • Sending email
  • Scalable and well-documented codebase

Technology

  1. I have used react.js to handle client side UI
  2. Used axios. It is a promised-based HTTP client for JavaScript.
  3. For client side route management I have used react-router-dom
  4. react-toastify is used to show success/error message
  5. react-bootstrap is used to show modal

Decision

  1. Why react.js?: It provides state-of-the-art functionality and is an excellent choice for developers looking for an easy-to-use and highly productive JavaScript framework. Using React, you can build complex UI interactions that communicate with the server in record time with JavaScript-driven pages. It also provide virtual DOM which provides more performant.
  2. I have used pagination instead of loading all data at a time. Initially, it loads 10 items
  3. Authentication, authorization, user verify, recover password are added to this app

License

This project is licensed under the MIT License.