Skip to content

itsvanshchavda/StackSpot-Frontend

Repository files navigation

Stack Spot - Developers Can Write , Learn And Post Blogs

Stack Spot is a full stack blog application that includes user system functionalities such as follow/unfollow, like post, bookmark post, and dark theme. It is built using React, Node.js, MongoDB, and Cloudinary. The application also incorporates real-time analytics and an auto-login feature.

Features

  • User System:

    • Follow/unfollow functionality
    • Like post functionality
    • Bookmark post functionality
    • Dark theme support
  • Technologies Used:

    • React
    • Redux Toolkit
    • RTK Query
    • Node.js
    • MongoDB
    • Cloudinary
    • Tailwind CSS
    • LocalStorage

How I Made It

  • State Management: Utilized Redux Toolkit for state management, ensuring a predictable and efficient state handling mechanism. LocalStorage is employed for auto-login and persistent behavior.

  • Data Fetching: Implemented RTK Query for efficient data fetching. Mutations are used for managing Redux state and actions.

  • Styling: Achieved perfect styling using Tailwind CSS, enabling rapid development and consistent design.

  • User-Based System: Integrated MongoDB and Redux Toolkit to facilitate user-based interactions such as follow/unfollow. Cloudinary is utilized for photo uploading in posts and profiles.

Setup Guide

To get started with Stack Spot, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/stack-spot.git
  2. Install the dependencies:

    cd stack-spot
    npm install
  3. Configure the environment variables:

    • Create a .env file in the root directory
    • Add the necessary environment variables (e.g., MongoDB connection string, Cloudinary credentials)
  4. Start the development server:

    npm start

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Developed By

👤 Vansh Chavda

Keep Coding! 🚀