Coder Social home page Coder Social logo

blogme-webapp's Introduction

BlogMe - Blogging Web Application

BlogMe is a feature-rich blogging platform built with React JS, Firebase, and Redux Toolkit. It allows users to create, edit, and delete blog posts, as well as view and comment on posts by other users.

Table of Contents

Introduction

BlogMe is a web application that enables users to share their thoughts and ideas through blog posts. It leverages Firebase for backend services and Redux Toolkit for state management.

Features

  • User authentication with Firebase
  • Create, edit, delete, and view blog posts
  • Comment on posts
  • Responsive design for mobile and desktop
  • Real-time updates

Technologies

  • React JS
  • Firebase (Firestore, Authentication)
  • Redux Toolkit
  • React Router
  • Material-UI (optional for UI components)

Requirements

Ensure you have the following installed:

  • Node.js (v14 or later)
  • npm or yarn
  • Firebase CLI (for Firebase setup and deployment)

Installation

1. Clone the repository

git clone https:/UTKARSHMOHAN2003/github.com//blogme.git
cd blogme

2. Install dependencies

npm install
# or
yarn install

3. Firebase Setup

  1. Create a Firebase project in the Firebase Console.
  2. Add a web app to your Firebase project.
  3. Copy the Firebase config object and paste it into a new file called firebaseConfig.js in the src directory.
// src/firebaseConfig.js
const firebaseConfig = {
  apiKey: "YOUR_API_KEY",
  authDomain: "YOUR_AUTH_DOMAIN",
  projectId: "YOUR_PROJECT_ID",
  storageBucket: "YOUR_STORAGE_BUCKET",
  messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
  appId: "YOUR_APP_ID",
};

export default firebaseConfig;
  1. Enable Firestore and Authentication in the Firebase Console.

Usage

1. Start the development server

npm start
# or
yarn start

2. Open the application

Open your browser and navigate to http://localhost:3000.

Project Structure

blogme/
├── public/                     # Public assets
├── src/                        # Source files
│   ├── components/             # Reusable React components
│   ├── features/               # Redux Toolkit slices
│   ├── pages/                  # React pages
│   ├── services/               # Firebase service functions
│   ├── firebaseConfig.js       # Firebase configuration
│   ├── App.js                  # Main app component
│   ├── index.js                # Entry point
│   └── store.js                # Redux store configuration
├── .firebaserc                 # Firebase project configuration
├── firebase.json               # Firebase configuration file
├── .gitignore                  # Git ignore file
├── package.json                # Project dependencies
└── README.md                   # Project documentation

Firebase Setup

Firestore

Create the following collections in Firestore:

  • users: Stores user profiles.
  • posts: Stores blog posts.
  • comments: Stores comments on blog posts.

Authentication

Enable Email/Password authentication in the Firebase Console.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

blogme-webapp's People

Contributors

utkarshmohan2003 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.