Giter Club home page Giter Club logo

loquent's Introduction

Loquent - Blog Website

Loquent is a full-stack blog website built using the MERN stack (MongoDB, Express.js, React.js, Node.js). It allows users to create, read, update, and delete blog posts through a modern and responsive user interface.

Video Demonstration

loquent.mp4

Features

  • User Authentication: Secure authentication system using JSON Web Tokens (JWT) for login and registration.
  • CRUD Operations: Perform Create, Read, Update, and Delete operations on blog posts.
  • File Uploads: Capability to upload images for blog post covers.
  • Responsive Design: Mobile-friendly design for seamless user experience across devices.

Technologies Used

  • Frontend: React.js, Material-UI for UI components, Axios for HTTP requests.
  • Backend: Node.js, Express.js for RESTful API, MongoDB Atlas for cloud database.
  • Authentication: JSON Web Tokens (JWT), bcrypt for password hashing.
  • File Uploads: Multer for handling file uploads.

Prerequisites

Before running the application locally, ensure you have the following installed:

  • yarn
  • MongoDB Atlas account (for cloud database, optional if using local MongoDB)
  • Git (optional, for cloning repository)

Getting Started

Root Directory Setup

  1. Clone the Repository:

    git clone https://github.com/praveen-p09/loquent.git
  2. Install Dependencies:

    yarn install
  3. Environment Variables: Create a .env file in the root of the backend directory and add your MongoDB connection URI and JWT secret:

    MONGO_URI=<your-mongodb-uri>
    JWT_SECRET=<your-jwt-secret>

    Create a .env file in the root of the frontend directory and specify the API URL:

    REACT_APP_API_URL=http://localhost:4000
  4. Run the App:

    yarn start

    Starts server at http://localhost:4000 and React app at http://localhost:3000

OR

Backend Setup

  1. Clone the Repository:

    git clone https://github.com/praveen-p09/loquent.git
    cd api
  2. Install Dependencies:

    yarn install
  3. Environment Variables: Create a .env file in the root of the backend directory and add your MongoDB connection URI and JWT secret:

    MONGO_URI=<your-mongodb-uri>
    JWT_SECRET=<your-jwt-secret>
  4. Run the Server:

    yarn start

    Starts server at http://localhost:4000

Frontend Setup

  1. Navigate to Frontend Directory:
    cd ../client
  2. Install Dependencies:
    yarn install
  3. Environment Variables: Create a .env file in the root of the frontend directory and specify the API URL:
    REACT_APP_API_URL=http://localhost:4000
  4. Run the Development Server:
    yarn start
    Starts React app at http://localhost:3000

Contributing

Contributions are welcome! Fork the repository and submit a pull request with your improvements.

loquent's People

Contributors

praveen-p09 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.