https://github.com/arnobt78/swolenormous-gymfit--reactvite
SwoleNormous is an ultimate gym training app built with React Vite and TailwindCSS and deployed on Netlify.
https://github.com/arnobt78/swolenormous-gymfit--reactvite
gym gym-application react react-components react-hooks react-vite reactjs tailwindcss workout-app
Last synced: 7 months ago
JSON representation
SwoleNormous is an ultimate gym training app built with React Vite and TailwindCSS and deployed on Netlify.
- Host: GitHub
- URL: https://github.com/arnobt78/swolenormous-gymfit--reactvite
- Owner: arnobt78
- Created: 2024-09-07T23:19:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-29T11:21:20.000Z (about 1 year ago)
- Last Synced: 2025-03-24T06:11:34.291Z (7 months ago)
- Topics: gym, gym-application, react, react-components, react-hooks, react-vite, reactjs, tailwindcss, workout-app
- Language: JavaScript
- Homepage: https://swolenormous-arnob.netlify.app
- Size: 72.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
   
## SwoleNormous-GymFit-ReactVite-WebApp
SwoleNormous is an ultimate gym training app built with React Vite and TailwindCSS and deployed on Netfily.
**Note: To check this web app live, click here:** https://swolenormous-arnob.netlify.app
## To Install Dependences
Before launching this web application, be sure to install all required dependencies, which are listed in the package.json file.
To install all dependencies, run this command from your project folder: `npm install`
## To Install NodeJS
Make sure you have NodeJS installed on your machine first, The installation instructions are here: https://nodejs.org/en/
## To Create TailwindCSS React Vite Project
Open up your terminal and bootstrap a new React Vite App by: `npm create vite@latest my-project -- --template react`
Then go to that project folder, and write this command via terminal from your project folder: `npm install -D tailwindcss postcss autoprefixer`
Then install tailwindcss and its peer dependencies, then generate your `tailwind.config.js` and `postcss.config.js` files: `npx tailwindcss init -p`
Then add the paths to all your template files in your tailwind.config.js file.
```
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
```Then add the @tailwind directives for each of Tailwind’s layers to your ./src/index.css file.
```
@tailwind base;
@tailwind components;
@tailwind utilities;
```Run your project: `npm run dev`
Run on your browser Local: `http://localhost:5173/`
(For more details, visit: https://tailwindcss.com/docs/guides/vite )
## About swoldier.js and functions.js File
I didn't create the algorithm that links the gym training routines together. Instead, I copied the swoldier.js and functions.js files from GitHub and itegrated them into my project.