Skip to content
/ blog Public

creating blog website where everyone can write blog and able to share there thoughts

Notifications You must be signed in to change notification settings

Ro706/blog

Repository files navigation

R Blog Site

This is a full-stack blog application with a React frontend and a Node.js backend.

Features

  • User Authentication: Secure login and signup functionality.
  • Blog Management: Create, edit, and view blog posts.
  • User Profiles: View your own blog posts from your profile.
  • Quick Reply: Quickly reply to comments from your dashboard.
  • Dashboard: A central place to manage your blog and comments.

Tech Stack

Frontend

  • Framework: React
  • Build Tool: Vite
  • Styling: Tailwind CSS

Backend

  • Framework: Node.js with Express
  • Database: MongoDB with Mongoose
  • Authentication: JSON Web Tokens (JWT)

Getting Started

Prerequisites

  • Node.js
  • npm
  • Docker (optional)

Installation

  1. Clone the repository:
    git clone https://github.com/Ro706/blog.git
  2. Install dependencies for both frontend and backend:
    cd blog
    npm install
    cd backend
    npm install

Build and Run

Frontend

To run the frontend in development mode:

npm run dev

Backend

To run the backend server:

cd backend
nodemon

Docker

This project is containerized with Docker.

Docker Compose

The compose.yaml file can be used to run the entire application (frontend and backend).

docker-compose up -d

To stop the services:

docker-compose down

About

creating blog website where everyone can write blog and able to share there thoughts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published