GupShup is a real-time chat application that allows users to communicate instantly. This repository contains the frontend code built with React.js.
- Features
- Technologies
- Getting Started
- Prerequisites
- Installation
- Running the Application
- Environment Variables
- Contributing
- License
- Real-time messaging.
- User authentication.
- Responsive design.
- Interactive UI for chat conversations.
- Integration with the GupShup backend API.
- User profile management.
- React.js: Frontend framework for building the user interface.
- React Router: For handling navigation.
- Redux: For state management (if applicable).
- Styled-components: For styling the components.
- Socket.IO: For real-time communication (if applicable).
- Axios: For making API requests to the backend.
Before running the application, make sure you have the following installed:
Node.js (v14+) npm or yarn (optional)
To use the simulator, clone the repository and install the necessary dependencies:
git clone https://github.com/pritamkumarshahi/gupshup-frontend.git
cd gupshup-frontend
npm install
npm start
npm run build
npm run eject
Create a .env
file in the root directory and add the following environment variables (modify the values accordingly):
REACT_APP_API_URL=<Backend API URL>
REACT_APP_SOCKET_URL=<Socket.IO URL> (if applicable)
REACT_APP_ENV=<development or production>
I welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature (git checkout -b feature-name).
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature-name).
- Open a pull request and describe the changes you've made.
This project is licensed under the MIT License. See the LICENSE file for details.