Code Monkey home page Code Monkey logo

blogify-v2's Introduction

Blogify

Blogify is a full-stack web application for creating and managing blog posts. It consists of a client-side developed with React and a server-side built with Node.js and Express.

image

image

Tech Stack

Frontend

  • React
  • Axios (HTTP Requests)
  • React Router (Routing)
  • Tailwind CSS (Styling)

Backend

  • Node.js
  • Express.js
  • MongoDB (Database)
  • Mongoose (ORM)
  • JWT (Authentication)
  • bcrypt (Password Hashing)

Installation

Follow these steps to set up and run Blogify on your local machine.

Prerequisites

Ensure you have the following installed:

  • Node.js (v14.x or later)
  • npm (v6.x or later)
  • MongoDB

Clone the Repository

git clone https://github.com/isayanpal/Blogify-v2.git
cd Blogify-v2

Server Setup

  1. Navigate to the server directory:

    cd server
  2. Install server dependencies:

    npm install
  3. Create a .env file in the server directory and add your MongoDB URI and other environment variables:

    MONGODB_URI=your_mongodb_url
    JWT_SECRET=your_jwt_secret
    VITE_URL=http://localhost:3000
    
  4. Start the server:

    npm run server

Client Setup

  1. Open a new terminal window and navigate to the client directory:

    cd client
  2. Install client dependencies:

    npm install
  3. Create a .env file in the client directory and add your environment variables:

    VITE_API_BASE_URL=http://localhost:5000
    
  4. Start the client:

    npm run dev

Running the Application

The client will be running on http://localhost:3000 and the server on http://localhost:5000.

Contributing

If you want to contribute to Blogify-v2, please follow these steps:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature-branch
  3. Make your changes and commit them:

    git commit -m 'Add some feature'
  4. Push to the branch:

    git push origin feature-branch
  5. Open a pull request.

Happy Coding ❤️

blogify-v2's People

Contributors

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