This is the frontend of a social media application developed using React, Redux, Material-UI, and Formik. The frontend provides a user-friendly interface for interacting with the social media platform's features.
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- Clone this repository
- Clone the repository:
git clone https://github.com/ScaryWings83289/twittrify-frontend.git
cd twittrify-frontend
- Install dependencies:
yarn install
-
Configure environment variables (if required) or API endpoints in the .env file.
-
Start the development server:
yarn start
Once the development server is running, you can access the application by navigating to http://localhost:3000
in your web browser. Log in or create an account to start using the social media platform.
Here are some of the key features of the frontend:
- User Registration and Login: Allows users to create accounts and authenticate.
- CRUD Operations on Posts: Users can create, read, and update posts.
- Like Posts: Provides functionality for users to like posts.
- User Profiles and Friend Requests: Users can view profiles and manage friend requests.
- User-friendly Forms: Implemented with validation using Formik for enhanced usability.
- Responsive Design: Utilizes Material-UI components for a responsive and intuitive user interface.
- Theme Switching: Supports both light and dark mode themes for user preference.
The project follows the following folder structure:
src/
: Contains the main source code.components/
: Reusable UI components.pages/
: Components representing application pages.store/
: Redux actions, reducers, and store configuration.styles/
: Stylesheets and theme configurations.utils/
: Utility functions and constants.
public/
: Contains static assets.
- Visual Studio Code - A source code editor developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring
- React - A javascript library for building user interfaces
- Create react app - A quick method to start developing a react application.
- Babel - A transpiler for javascript
- Redux - Redux is an open-source JavaScript library for managing and centralizing application state.
- Webpack - A module bundler