A sample gym promotional application containing a lightning-fast 1-page site along with a functional contact form. This website demonstrates how to use a popular and novel front-end stack, hosted on CloudFlare.
- React
- TypeScript
- TailwindCSS for utility CSS classes
- ESLint configured with some initial rules
- Prettier to enforce consistent code style
- Vite to build the project for development or production
- Run
git clone https://github.com/deezee30/demo-evogym.git
- Navigate to repository with
cd demo-evogym
- Run
npm install
to install all of the project's dependencies
Run the local development server with npm run dev
Build the project for production with npm run build
For a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
All code licensed under MIT License. See LICENSE.txt for further details.