This is a front-end part of our Streetcode project.
First of all, make sure you have installed dependencies below and back-end part of project
- NodeJS (16.0.0) or higher
- npm (7.10.0) or higher
- npx (10.2.2) or higher
Clone this repo to your local machine
To setup this project use this command in project folder:
npm install
To start project locally, write following command:
npm start
Open your browser and enter http://localhost:3000 url. If you had this page already opened, just reload it.
Gitflow is a lightweight, branch-based workflow.
Gitflow is an alternative Git branching model that involves the use of feature branches and multiple primary branches.
- First step is checkout to
developer
branch and pull the recent changes.
- π΄ Fork this repo from
developer
branch and name it! A short, descriptive branch name enables your collaborators to see ongoing work at a glance. For example,increase-test-timeout
oradd-code-of-conduct
.
- π¨ On your branch, make ANY reasonable & desired changes to the repository.
- π Commit and push your changes to your branch.
Give each commit a descriptive message to help you and future contributors understand what changes the commit contains.
For example,
fix typo
orincrease rate limit
. Note: you don't need to commit every line of your code in separate commits.
- Before creating pull request you need to check the
developer
branch state! To avoid conflicts, you should mergedeveloper
branch to your local branch! And resolve your local conflicts. Mini manual: checkout to your local branch and write in consolegit merge developer
.
- π Create a new pull.
- π Assign reviewers! Reviewers should leave questions, comments, and suggestions. After receiving comments, improve the code. Get Approved status on the request and be satisfied with it!
- π After 3 approved reviews, merge your pull request with
developer
branch! Also, it is important to wait for your scrum master to approve your changes. If there are some conflicts, resolve them, again.
- βοΈ Delete redundant branch. Done!
Oops, some fixed needs to be done immediately? Use this guide for Hotfixes!
Some fixes will be needed due to the nature of Gitflow. You would have to do a 'hotfix' or something outside of the normal process, but it's simply part of our normal process.
- π₯ To implement an urgent change, a Hotfix branch is created off the
developer
branch to test and implement the fix.
- π Once itβs complete, the Hotfix is merged with the
developer
branch.
Find issues to work on GitHub repository.
- Project falls after npm start command?
- Try to install exactly the same version of NodeJS specified in the requirements (16.0.0)
Reach out to us at one of the following places!
- Telegram at
Iryna Zavushchak
Visit our site, we will be happy for everyone!
- MIT license
- Copyright 2022 Β© SoftServe IT Academy.