Base React web project with Redux and Typescript.
Make sure that you have the back-end API up and running before run this application.
This project uses the duck pattern to scale better. This pattern provides better code organization as well.
See this repository for more information.
Before everything, make sure to create a copy o the .env.example file and fill the variables.
For development create .env.development file and for production create .env.production file.
| NAME | DEFAULT | REQUIRED | DESCRIPTION |
|---|---|---|---|
| REACT_APP_ENV | production | true | production or development |
| REACT_APP_API_ENDPOINT | true | api endpoint | |
| REACT_APP_AUTH_ENDPOINT | true | api authentication endpoint |
Install the dependencies:
yarnThen, run the command bellow:
yarn startRun the command bellow:
docker-compose up -dThis application uses testing-library for tests.
- Axios
- Date-Fns
- Material UI
- JTW Decode
- React
- React Router
- Redux
- Redux-Thunk
- Typescript
- Avoid the type any.
- Use hooks based components instead of classes.
- Test your own code before send pull requests.
- Write a good commit message.