This web application displays cards for different users with their name, bio, a future goal (what they want to be after 5 years), and a link to their GitHub profile. The cards also feature an SVG image associated with each user.
The Card Display Web App is built using the following technologies and tools:
- React: A JavaScript library for building user interfaces.
- JavaScript: The primary programming language used for client-side development.
- HTML/CSS: For structuring and styling the web pages.
- SVG: Scalable Vector Graphics used for displaying user images.
- GitHub: For version control and collaboration.
- VSCode: A code editor used for development.
- npm: The Node.js package manager for managing project dependencies.
- Git: A version control system for tracking changes in the project.
- About.jsx: A component for an 'About' section.
- Card.jsx: Renders user details in a card format.
- FAQ.jsx: Component for FAQs.
- NavBar.jsx: Provides navigation through the app.
- HomePage.jsx: The main landing page that showcases the NavBar and user cards.
1. Fork the Repository
First, fork the main repository to have a copy in your GitHub account.
2. Clone the Repository
Open terminal and run the following command:
https://github.com/<YOUR_USERNAME>/card.git
3. Install Dependencies
In the terminal run the following command:
npm install
To start the project:
npm start
Your project should open in your default web browser at http://localhost:3000.
4. Branching To create a new branch:
git branch <BRANCH_NAME>
git checkout <BRANCH_NAME>
5. Make Your Changes Navigate to the data.js file and add your data object to contribute.
6. Committing and Pushing Changes To add the changes in the staging area, run:
git add .
or
git add <File_Path>
To add the commit message:
git commit -m "YOUR_MESSAGE"
To push the changes
git push origin <BRANCH_NAME>
<BRANCH_NAME> will be same which is created in step 4
7. Open a Pull Request (PR) Switch back to your browser and go to your forked repository on GitHub. Select your branch and click on "New pull request". Ensure the base repository is the original one you forked from. Add any comments and then click "Create pull request".