Giter Site home page Giter Site logo

chandankumarm55 / twitter-frontend Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.01 MB

backendurl - https://github.com/chandankumarm55/Twitter_Clone_backend

Home Page: https://twitter-clonefrontend.netlify.app/

HTML 6.63% CSS 22.52% JavaScript 70.85%
avatar-generator css deployment express javascript mongodb nodejs react reacticons reactjs redux toast toastnotifications twitter

twitter-frontend's Introduction

Twitter Clone

Overview

A full-stack Twitter clone built with the MERN stack, featuring secure authentication and user interactions.

Features

  • Frontend: Built with React.js for building user interfaces and Redux for state management.
  • Backend: Developed using Node.js and Express.js for server-side logic, and MongoDB for data storage.
  • Authentication: Implemented secure login and sign-up functionality using JWT tokens.
  • User Interactions: Users can create, delete, like, and save posts; follow and unfollow users; view profile images; and manage basic user interactions.

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

Installation

Prerequisites

  • Node.js
  • npm (Node Package Manager)
  • MongoDB

Frontend

  1. Clone the repository:

    git clone https://github.com/yourusername/Twitter_Clone_frontend.git
  2. Navigate to the project directory:

    cd Twitter_Clone_frontend
  3. Install dependencies:

    npm install
  4. Edit the Backend URL in utilities/constant.js

    backendUrl='http://localhost:5000'
  5. Start the development server:

    npm start

Backend

  1. Clone the repository:
    git clone https://github.com/chandankumarm55/Twitter_Clone_backend.git
  2. Navigate to the project directory:
    cd Twitter_Clone_backend
  3. Install dependencies:
    npm install
  4. Set up environment variables:
    • Create a .env file in the root directory.
    • Add the following environment variables:
      PORT=5000
      MONGO_URI=your_mongo_database_uri
      JWT_SECRET=your_jwt_secret
      FRONT_END_URL=your_frontend_url
  5. Start the server:
    npm start

Usage

  1. Ensure MongoDB is running on your system.
  2. Start the backend server.
  3. Start the frontend development server.
  4. Open your browser and navigate to http://localhost:3000.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

twitter-frontend's People

Contributors

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