We at Research Kernel are working on React.js for developing UI for Frontend with Ant Design as a UI design language.
If you are new to ResearchKernel, take a look Introduction repository.
This project was bootstrapped with Create React App.
.
├── App.js
├── _actions
│ └── auth.action.js
├── _assets
├── _reducers
│ ├── auth.reducer.js
│ └── index.js
├── components
│ ├── common
│ │ ├── input
│ │ │ ├── Input.component.js
│ │ │ └── input.style.js
│ │ ├── navbar
│ │ │ ├── navbar.component.js
│ │ │ └── navbar.style.js
│ │ ├── search_box
│ │ │ └── search_box.component.js
│ │ ├── sidebar
│ │ │ ├── sidebar.component.js
│ │ │ └── sidebar.style.js
│ │ └── sub_navbar
│ │ ├── sub_navbar.component.js
│ │ └── sub_navbar.style.js
│ └── hoc
│ └── RequireAuth.js
├── index.css
├── index.js
├── serviceWorker.js
├── store.js
└── views
├── home
│ └── Home.js
└── login
└── Login.js
In the project directory, you can run:
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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
We have three main branches, and temporary feature branches with short lifespan.
Branch | Purpose |
---|---|
Master | This is the branch we will use in production servers |
Staging | This is a backup branch for Master and for testing production code. |
Development | This is the branch where all the feature branches will merge. |
Features | These branches are for developing new feature that will be integrated to our product, and have a short life span. |
- Select task on Trello
- Inform to your committer and they will assign you the task on Trello
- Create a feature branch from development branch.
- Push a PR to development.
- Avoid merge conflicts
- Create Pull Request on each branch rather than directly commiting to the repository, except master branch.