This is a web application built using React and React Router DOM to manage different pages and display data from external APIs. The project includes pages for About, Contact, Leetcode Statistics, and Github Profile.
This project uses React Router DOM for page navigation and integrates data from external APIs. Here are the details for the different sections of the application:
-
Main Page: This is the landing page of the application.
-
About Page: Provides information about the project or team.
-
Contact Page: A contact form or details.
-
Leetcode Statistics Page: Fetches Leetcode statistics for a user from the Leetcode API. The Leetcode API URL is https://leetcode-stats-api.herokuapp.com/suryapratap2542.
-
Github Profile Page: Displays Github profile information, including followers, repositories, and programming language statistics. The Github API URL is https://api.github.com/users/USERNAME.
- Clone this repository to your local machine.
git clone https://github.com/your-username/react-router-dom-project.git
- Navigate to the project directory.
cd react-router-dom-project
- Install the required dependencies.
npm install
- Start the development server.
npm start
- Open your web browser and access the application at http://localhost:3000.
- React
- React Router DOM
- Other dependencies as needed
-
Leetcode API: https://leetcode-stats-api.herokuapp.com/suryapratap2542 Replace
USERNAME
with the Leetcode username for which you want to fetch statistics. -
Github API: https://api.github.com/users/USERNAME Replace
USERNAME
with the Github username for which you want to fetch profile information.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request to this repository.
This project is open-source and available under the MIT License.