GithubHelp home page GithubHelp logo

vijaisuria / blogosphere-mern-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 304 KB

A secure and dynamic MERN stack blog app crafted during my Winter Internship at Bharat Intern. Seamlessly blending user authentication, intuitive blog operations, and engaging design, it exemplifies my prowess in Full Stack Development.

HTML 2.93% CSS 28.15% JavaScript 68.91%
bcryptjs blog-website jwt-auth mern-blog mern-stack

blogosphere-mern-app's Introduction

BLOGOSPHERE MERN APPLICATION

Table of Contents

Introduction

Welcome to Blogosphere - your go-to destination for a feature-rich and immersive blogging experience! πŸš€ In the vast landscape of the internet, Blogosphere stands out as a meticulously designed blog application created using the MERN stack. Whether you're an avid writer or an enthusiastic reader, Blogosphere is tailored to meet your blogging needs with style and functionality.

Key Features

πŸ”‘ User Authentication & Authorization: Blogosphere prioritizes the security and privacy of its users. We've implemented robust authentication and authorization mechanisms using JWT, Bcryptjs, and secure cookies. Your data is safe, and you can enjoy a seamless experience without compromising on security.

πŸ“ Blog Operations: Express your thoughts and creativity effortlessly! With Blogosphere, users can create and edit their blogs with an intuitive and dynamic content creation interface. Write, edit, and personalize your content to make it uniquely yours.

πŸ“§ Contact Us Page with Nodemailer: Communication is key! Blogosphere features a Contact Us page seamlessly integrated with Nodemailer. Reach out to us easily, ask questions, provide feedback, or just say hello. We value your input and are committed to fostering a strong community.

🏠 Landing Page: Your journey begins with a captivating landing page designed to leave a lasting impression. Blogosphere's landing page is crafted to engage visitors and provide a glimpse into the rich content that awaits them within the app. Welcome to a world where every visit starts on a positive note!

πŸ“± Mobile Responsiveness: Blogosphere is not confined to desktops; it accompanies you wherever you go. Experience the same level of smooth navigation and functionality on various devices, ensuring that Blogosphere is accessible anytime, anywhere. Whether you're on your laptop, tablet, or smartphone, your blogging journey is at your fingertips.

Technology Stack

βš™οΈ Blogosphere is built on the MERN stack:

  • MongoDB: For a flexible and scalable database to handle blog data efficiently.
  • Express.js: For building a robust and scalable backend to manage blog operations.
  • React.js: For creating a dynamic and interactive user interface.
  • Node.js: For running the server-side logic and handling backend requests.
  • JWT, Bcryptjs, Cookies: Ensuring secure user authentication and authorization.
  • Nodemailer: Facilitating seamless communication through the Contact Us page.

Blogosphere combines these technologies to create a powerful and enjoyable blogging platform. Dive into the world of Blogosphere and let your blogging journey begin! 🌐✨

File Structure

πŸ“‚ The front-end part is structured as follows:

└── πŸ“client
    └── .env
    └── .env.example
    └── .gitignore
    └── package-lock.json
    └── package.json
    └── πŸ“public
        └── blogosphere-logo.png
        └── blogosphere-white-logo.png
        └── index.html
        └── logo.png
        └── manifest.json
        └── robots.txt
    └── πŸ“src
        └── App.js
        └── πŸ“css
            └── App.css
            └── contact.css
            └── forms.css
            └── home.css
            └── index.css
        └── index.js
        └── πŸ“pages
            └── BlogsPage.js
            └── Contact.jsx
            └── CreatePost.js
            └── EditPost.js
            └── IndexPage.jsx
            └── LoginPage.js
            └── PostPage.js
            └── RegisterPage.js
        └── πŸ“partials
            └── Footer.js
            └── Layout.js
            └── NavBar.js
            └── Post.js
        └── πŸ“utils
            └── Editor.js
            └── UserContext.js

πŸ“‚ The back-end part is structured as follows:

└── πŸ“server
    └── .env
    └── .gitignore
    └── index.js
    └── πŸ“models
        └── Post.js
        └── User.js
    └── package-lock.json
    └── package.json
    └── πŸ“uploads

Installation Guide

πŸš€ Follow these steps to install and run the Awesome Project:

A. Client (Frontend) Installation:

  1. Navigate to the client folder:

    cd client
  2. Install Frontend Dependencies:

    npm install
  3. Configure Environment Variables:

    • Rename the .env.example file to .env.
    • Open the .env file and add your server API base link:
      REACT_APP_API_BASE_URL=http://your-server-api-link
  4. Start the Development Server:

    npm start

    This will launch the client application on http://localhost:3000.

B. Server (Backend) Installation:

  1. Navigate to the server folder:

    cd server
  2. Install Backend Dependencies:

    npm install
  3. Configure Environment Variables:

    • Rename the .env.example file to .env.
    • Open the .env file and add your MongoDB URI and JWT secret:
      MONGO_URI=mongodb://your-mongo-uri
      JWT_SECRET=your-jwt-secret
  4. Run the Server for Development:

    npm run dev

    This will start the server in development mode.

  5. Run the Server for Production:

    npm start

    Use this command when deploying the server in a production environment.

Now, both the client and server are installed and running. You can access the frontend on http://localhost:3000, and the backend will be running according to your specified configuration (by default on http://localhost:4000).

Contribution

🀝 We welcome contributions! If you'd like to contribute to the Awesome Project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/new-feature
  3. Make your changes and commit them: git commit -m 'Add new feature'
  4. Push to the branch: git push origin feature/new-feature
  5. Submit a pull request.

Contact Us

πŸ“¬ Feel free to reach out to us on social media:

blogosphere-mern-app's People

Contributors

vijaisuria 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.