Skip to content

DmytroRoik/cursor-react-app

Repository files navigation



Basic Developer instructions IMPORTANT!!!


Developer Guide:

  1. Each task - new branch
  2. DON'T push code into develop branch (use PR flow instead)
  3. each task should be completed with Pull Request

- Branch naming convention

Branch name should include task name

  1. for new features --- feature/feature-name (for example feature/add-profile-page)

  2. for fixing issue --- bugfix/bug-name (for example bugfix/update-profile-data)

- Starting New Task flow

  1. go to develop branch.

Basic git flow below (creating new branch from latest develop):

git checkout develop
git pull
git checkout -b feature/feature-name
  1. Make a few commits
git commit -m 'added table header for charges tab'
git commit -m 'added table body for charges tab'
  1. Push latest commits to github
 git push
  1. Create PR (see How to create PR flow instructions below)
  2. go to step 1;

- Commit name convention

  1. name should describe latest changes
  2. asd, blablabla, fix -- bad solution for commit name
  3. added add more button for table -- good commit name

- How to create PR

  1. New pull request button
  2. select source and target branches source (branch with your latest commits) right selector target (general branch) in our case develop - left selector
  3. Create pull request big green button in the bottom part
  4. DON'T merge PR
  5. if PR has conflicts -- you should fix all conflicts for your PR
  6. add reviewers (at least on from your team)

- How to add reviewers for new PR

  1. select at least one dev from your team and me.
  2. review section here -> https://prnt.sc/rrwppk


Basic react instruction (just for overview)


This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn 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.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn 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.

yarn 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.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

Test Student react project for managing budget

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published