Skip to content

Latest commit

 

History

History
59 lines (33 loc) · 1.6 KB

README.md

File metadata and controls

59 lines (33 loc) · 1.6 KB

Twitter Clone Frontend

This repository contains the frontend code for a Twitter clone, built using Next.js and React. It includes features such as OAuth authentication, cloud storage integration with Cloudinary, and dynamic UI components. The frontend is designed to work seamlessly with the backend GraphQL API to provide a complete Twitter-like experience.

Features

  • OAuth Authentication: Integration with Google OAuth for user authentication.
  • Cloud Storage: Upload and manage images with Cloudinary.
  • Dynamic UI: Interactive components for tweeting, commenting, and liking posts.
  • GraphQL Integration: Communicates with the backend GraphQL API for data retrieval and manipulation.

Installation

  1. Clone the repository:

    git clone https://github.com/your_username/twitter-clone-frontend.git
    
    

Dependencies

  1. Install dependencies:

    cd twitter-clone-frontend
    npm install
    

Environment Setup

  1. Set up environment variables: Create a .env file in the root directory and add the following variables:

    DATABASE_URL=your_database_url
    

Development Server

  1. Run the development server:

    npm run dev
    
    

Contributing

Contributions are welcome! Please follow these steps:

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

Feel free to modify the content as needed to better fit your project's specifics! Let me know if you need further assistance.