An open API service indexing awesome lists of open source software.

https://github.com/ibrsec/capsblog-fullstack

Fullstack CapsBlog App
https://github.com/ibrsec/capsblog-fullstack

express jwt mongodb react redux tailwind

Last synced: 2 months ago
JSON representation

Fullstack CapsBlog App

Awesome Lists containing this project

README

          








Logo

Full stack Caps Blog App


An awesome Full stack Caps Blog App





View Demo
·
Frontend Repo
·
Backend Swagger
·
Backend Redoc
·
Report Bug
·
Request Feature


📎 Table of Contents 📎


  1. About The Project


  2. Overview

  3. Quick Setup

  4. Directory structure

  5. Built With


---


## ℹ️ About The Project

[![stock-app](./client/public/project.gif)](https://capsblog-fs-express-react.onrender.com/)
---
ERD:
[![stock-app-erd](./erdBlogAPI.png)](https://capsblog-fs-express-react.onrender.com/)

(back to top)

---


## 👀 Overview

📦 A Fullstack CapsBlog App Project
🏀 [Frontend Live](https://capsblog-fs-express-react.onrender.com/) || [Backend Swagger](https://capsblog-fs-express-react.onrender.com/api/documents/swagger) || [Backend Redoc](https://capsblog-fs-express-react.onrender.com/api/documents/redoc)

FRONTEND:

🎯 React Development: Built a responsive and interactive blog interface using React.js to deliver a seamless user experience.

🛠 State Management: Utilized Redux Toolkit and Persist for managing state and maintaining user sessions efficiently.

🚀 React Router: Integrated React Router for smooth navigation between blog posts, categories, and user profiles.

🔔 User Notifications: Implemented real-time notifications using React Toastify to inform users of actions like post creation or comments.

🔍 Search Functionality: Enabled efficient search functionality for finding posts and filtering by category.

📷 Image Upload: Supported profile picture and blog post image uploads for enhanced user profiles and content creation.

🎨 UI Design: Designed a clean and modern UI using Tailwind CSS for responsive and consistent styling.

BACKEND:

🎯 Express.js API: Developed a robust RESTful API with Express.js to handle blog content management, user authentication, and comments.

🔒 Authentication: Implemented JWT and simple token for secure user authentication and authorization throughout the application.

📄 API Documentation: Used Swagger and Redoc for comprehensive API documentation to facilitate testing and development.

📊 Database Management: Utilized MongoDB and Mongoose for data modeling, storing user data, blog posts, comments, categories and emails.

🛠 Middleware & Error Handling: Added custom middleware for validation, error handling, and file upload management using Multer.

🖼️ File Uploads: Integrated Multer for secure handling of image uploads related to blog posts and user profiles.

----------------------------------------------------------------

(back to top)


## 🛫 Quick Setup

```sh
# clone the project
git clone https://github.com/ibrsec/Capsblog-fullstack.git

# enter the project directory
cd Capsblog-fullstack

# install dependency
# linux
npm run setup-production
# windows
npm run setup-production-windows

# run
node index.js

```

(back to top)


## 📂 Directory structure

```diff
+ Capsblog-fullstack (folder)
|---client (folder)
| |
| |---public (folder)
| |
+ | |---src (folder)
| | |---pages (folder)
| | |
| | |---components (folder)
| | |
| | |---app (folder) ---store.jsx
| | └---features (folder)(slices)
| | |
| | |---router (folder)
| | |
| | |---services (folder)
| | |
| | |---helper (folder)
| | |
| | |---App.js
| | |---Index.js
| | └---Index.css
| |
| |----package.json
| |----tailwind.config.js
| └----readme.md
|
+ |---src (folder)
| |---configs (folder)
| |
| |---controllers (folder)
| |
| |---errors (folder)
| |
| |---helpers (folder)
| |
| |---middlewares (folder)
| |
| |---models (folder)
| |
| └---routes (folder)
|
|----uploads (folder)
|----.env
|----.gitignore
|----index.js
|----package.json
|----swaggerAutogen.js
└----readme.md
```

(back to top)

---


### 🏗️ Built With
Frontend

















---

Backend
















(back to top)