Contributing to 1chooo.com
Welcome to the 1chooo.com repository! We're glad you're interested in contributing to our React portfolio project. By contributing, you help make our project better and more useful for everyone. Below are some guidelines to get you started.
Issues
If you encounter any issues, have suggestions, or want to report a bug, feel free to create an issue. When creating an issue, please include a clear and descriptive title, along with relevant details about the problem or suggestion. This will help us understand and address the issue more effectively.
Pull Requests
We welcome contributions through pull requests! If you're working on a bug fix, new feature, or improvements, follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name:
- For bug fixes:
fix/issue-number-fix-description - For features:
feature/description-of-feature
- For bug fixes:
- Make your changes and commit following the Conventional Commits guidelines.
- Push your changes to your forked repository.
- Open a pull request from your branch to the
mainbranch of the original repository. - Make sure you run
pnpm testbefore submitting your pull request to ensure there are no issues.
Setup
Forking this Repository:
Fork the 1chooo/1chooo.com repository into your own workspace.
Cloning the Repository to Your Workspace:
$ git clone [email protected]:<your_workspace_name>/1chooo.com.git
Setting Upstream Remote:
$ git remote add upstream [email protected]:1chooo/1chooo.com.git
$ git remote -v
origin [email protected]:<your_user_name>/1chooo.com.git (fetch)
origin [email protected]:<your_user_name>/1chooo.com.git (push)
upstream [email protected]:1chooo/1chooo.com.git (fetch)
upstream [email protected]:1chooo/1chooo.com.git (push)
Pull Requests:
If you have any valuable ideas to contribute, please create a pull request and provide details about the outstanding work you've done.
Getting Started
This project was bootstrapped with Create React App.
sudo npx create-react-app . --template typescript
Available Scripts
In the project directory, you can run:
pnpm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
pnpm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
pnpm run build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
pnpm run eject
Note: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
Learn More
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
Conventional Commits
We follow the Conventional Commits specification for commit messages. This helps us maintain a clear and organized commit history. Your commit messages should be formatted as follows:
<type>(<scope>): <description>
For example:
feat(homepage): add new hero sectionfix(styles): correct header alignment
Getting Started
[!NOTE] We choose
pnpmas our package manager. Make sure you have it installed before running the following commands.
$ git clone [email protected]:1chooo/1chooo.com.git
$ cd 1chooo.com
$ pnpm install
Run the Web App
$ cd apps/web
$ pnpm run dev # Open http://localhost:3000 with your browser to see the result.
Deploy on Vercel
The easiest way to deploy 1chooo.com app is to use the Vercel Platform from the creators of Next.js. See here for more details.