This is ready to develop React.js App with typescript template. Just check it and use this for your own project!
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
This template using React Router v.6.21.1 for Single Page Application (SPA) navigation in the app
For styling TailwindCSS v3.4.0 has been installed in the project
Axios used for interaction to the Back End Server. The project has been initialize with axios-client.ts so you can just use that because the axios-client has been configured to handle an error for authentication
This template project also completed with test with the vitest v.1.2.1 as the library for testing. Other dependencies that support the testing is testing-library/react v14.1.2 and jsdom v24.0.0
The template use example of docker for production in the server but you can change it later if you want cause you may have different strategy for your application