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.
- 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.
-
Clone the repository:
git clone https://github.com/your_username/twitter-clone-frontend.git
-
Install dependencies:
cd twitter-clone-frontend npm install
-
Set up environment variables: Create a .env file in the root directory and add the following variables:
DATABASE_URL=your_database_url
-
Run the development server:
npm run dev
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/my-feature
. - Commit your changes:
git commit -am 'Add new feature'
. - Push to the branch:
git push origin feature/my-feature
. - 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.