├── README.md ├── backend ├── .gitignore ├── .prettierrc.json ├── .vscode │ └── settings.json ├── package.json ├── src │ ├── controllers │ │ └── authController.js │ ├── database │ │ └── index.js │ ├── models │ │ └── User.js │ ├── routes │ │ └── index.js │ └── server.js └── yarn.lock ├── frontend ├── .gitignore ├── .prettierrc ├── avatars.json ├── index.html ├── package.json ├── postcss.config.cjs ├── public │ └── vite.svg ├── src │ ├── @types │ │ ├── AppContextType.ts │ │ ├── AuthContextType.ts │ │ ├── AvatarJsonType.ts │ │ ├── AvatarType.ts │ │ └── UserType.ts │ ├── App.tsx │ ├── assets │ │ ├── img │ │ │ └── avatars │ │ │ │ ├── female1.png │ │ │ │ ├── female2.png │ │ │ │ ├── female3.png │ │ │ │ ├── female4.png │ │ │ │ ├── female5.png │ │ │ │ ├── male1.png │ │ │ │ ├── male2.png │ │ │ │ ├── male3.png │ │ │ │ └── male4.png │ │ └── react.svg │ ├── components │ │ ├── Form │ │ │ ├── ExerciseForm │ │ │ │ └── index.tsx │ │ │ ├── LoginForm │ │ │ │ └── index.tsx │ │ │ └── RegisterForm │ │ │ │ └── index.tsx │ │ ├── PrivateRoute │ │ │ └── index.tsx │ │ ├── ProfileHeader │ │ │ └── index.tsx │ │ ├── ProfileMain │ │ │ └── index.tsx │ │ └── UserExercises │ │ │ ├── UserExerciseCard │ │ │ └── index.tsx │ │ │ └── index.tsx │ ├── contexts │ │ ├── AppContext.tsx │ │ └── AuthContext.tsx │ ├── index.css │ ├── main.tsx │ ├── pages │ │ ├── Home │ │ │ └── index.tsx │ │ ├── Profile │ │ │ └── index.tsx │ │ └── Register │ │ │ └── index.tsx │ ├── routes.tsx │ ├── services │ │ └── api.ts │ └── vite-env.d.ts ├── tailwind.config.cjs ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts └── yarn.lock └── screenshots ├── home ├── desktop.png └── mobile.jpeg ├── modal ├── desktop.png └── mobile.jpeg └── profile ├── desktop.png └── mobile.jpeg /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/README.md -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /backend/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/.prettierrc.json -------------------------------------------------------------------------------- /backend/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/.vscode/settings.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/controllers/authController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/src/controllers/authController.js -------------------------------------------------------------------------------- /backend/src/database/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/src/database/index.js -------------------------------------------------------------------------------- /backend/src/models/User.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/src/models/User.js -------------------------------------------------------------------------------- /backend/src/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/src/routes/index.js -------------------------------------------------------------------------------- /backend/src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/src/server.js -------------------------------------------------------------------------------- /backend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/backend/yarn.lock -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/.prettierrc -------------------------------------------------------------------------------- /frontend/avatars.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/avatars.json -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/postcss.config.cjs -------------------------------------------------------------------------------- /frontend/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/public/vite.svg -------------------------------------------------------------------------------- /frontend/src/@types/AppContextType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/@types/AppContextType.ts -------------------------------------------------------------------------------- /frontend/src/@types/AuthContextType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/@types/AuthContextType.ts -------------------------------------------------------------------------------- /frontend/src/@types/AvatarJsonType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/@types/AvatarJsonType.ts -------------------------------------------------------------------------------- /frontend/src/@types/AvatarType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/@types/AvatarType.ts -------------------------------------------------------------------------------- /frontend/src/@types/UserType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/@types/UserType.ts -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/female1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/female1.png -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/female2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/female2.png -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/female3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/female3.png -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/female4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/female4.png -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/female5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/female5.png -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/male1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/male1.png -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/male2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/male2.png -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/male3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/male3.png -------------------------------------------------------------------------------- /frontend/src/assets/img/avatars/male4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/img/avatars/male4.png -------------------------------------------------------------------------------- /frontend/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/assets/react.svg -------------------------------------------------------------------------------- /frontend/src/components/Form/ExerciseForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/components/Form/ExerciseForm/index.tsx -------------------------------------------------------------------------------- /frontend/src/components/Form/LoginForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/components/Form/LoginForm/index.tsx -------------------------------------------------------------------------------- /frontend/src/components/Form/RegisterForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/components/Form/RegisterForm/index.tsx -------------------------------------------------------------------------------- /frontend/src/components/PrivateRoute/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/components/PrivateRoute/index.tsx -------------------------------------------------------------------------------- /frontend/src/components/ProfileHeader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/components/ProfileHeader/index.tsx -------------------------------------------------------------------------------- /frontend/src/components/ProfileMain/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/components/ProfileMain/index.tsx -------------------------------------------------------------------------------- /frontend/src/components/UserExercises/UserExerciseCard/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/components/UserExercises/UserExerciseCard/index.tsx -------------------------------------------------------------------------------- /frontend/src/components/UserExercises/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/components/UserExercises/index.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/AppContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/contexts/AppContext.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/AuthContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/contexts/AuthContext.tsx -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/main.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/pages/Home/index.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Profile/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/pages/Profile/index.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Register/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/pages/Register/index.tsx -------------------------------------------------------------------------------- /frontend/src/routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/routes.tsx -------------------------------------------------------------------------------- /frontend/src/services/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/src/services/api.ts -------------------------------------------------------------------------------- /frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /frontend/tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/tailwind.config.cjs -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/vite.config.ts -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/frontend/yarn.lock -------------------------------------------------------------------------------- /screenshots/home/desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/screenshots/home/desktop.png -------------------------------------------------------------------------------- /screenshots/home/mobile.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/screenshots/home/mobile.jpeg -------------------------------------------------------------------------------- /screenshots/modal/desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/screenshots/modal/desktop.png -------------------------------------------------------------------------------- /screenshots/modal/mobile.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/screenshots/modal/mobile.jpeg -------------------------------------------------------------------------------- /screenshots/profile/desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/screenshots/profile/desktop.png -------------------------------------------------------------------------------- /screenshots/profile/mobile.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marlleyck/fitness-project/HEAD/screenshots/profile/mobile.jpeg --------------------------------------------------------------------------------