Front End application oriented to SPA
- React single page application
- Routing done using React Router
- Ironhack API
Diagram Diagram
- Clone the repository and install the dependencies
npm install
- Start the frontend application locally
npm start
npm start
: Start the app locally in your development environment, by default it will be in http://localhost:3000.
Here are the steps of the process you need to follow in order to integrate new code or a new feature into the project:
- Create a local branch to get started using git:
git checkout -b <your-name>
. - Develop the new feature while doing atomic commits to your local branch using
git commit
. - After you are done, you might want to do a
git rebase develop
in case new changes were integrated, so your new commits are applied on top of that and you make sure everything still works. - Now you are ready to create a new Pull Request with your changes, but before, push your changes to origin using
git push -u origin <your-branch-name>
. - Your code should be reviewed, you can update the branch with new changes after you get some feedback.
- After the Pull Request is approved, merge it using the UI on Github (you can also remove the branch directly from the same page, which is also convenient). Your code will land to the
develop
branch (and eventually deployed into the staging environment).
This project implements Bootstrap and Bootstrap icons
This project is using react-router-dom v4
, have a look at Routes.jsx
which is the file that defines the routes that are available.
There are several routes to navigate to different pages of the app:
- path="/" Home Page
- path="/equipe" Equipe Page
- path="/novo" Cadastra novo usuário na equipe
- path="/equipe/:id" Recupera detalhes de cada usuário
- path="*" Trata de páginas inexistentes]
Autodeploy on new push to GitHub
Deployed using netlify.com Netlify
The master
branch deploys to http://todo92.netlify.com.