This project is based on the tutorial by EdRoh, where they demonstrate how to build a fully responsive Typescript React Fitness Application.
I thank the original creater as this tutorial helped me learn about the implementation and integration of several different tech tools into one project. I tried my best to understand the code instead of merely copying it word by word. I initially faced many issues regarding Localhost port connectivity, npm commands etc. I also faced issues with the Prettier extension and had to recreate the React app, but eventually I was able to complete the website and deploy it successfully using CloudFlare pages.
Original Tutorial:
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
parserOptions
property like this:export default {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}
plugin:@typescript-eslint/recommended
to plugin:@typescript-eslint/recommended-type-checked
or plugin:@typescript-eslint/strict-type-checked
plugin:@typescript-eslint/stylistic-type-checked
plugin:react/recommended
& plugin:react/jsx-runtime
to the extends
list