Skip to content

Body Flex Hub is a gym center MERN Website, where user can register as a member. And if he is knowledge as a trainer , he can apply for become a trainer. After admin confirmation he will be a trainer or rejected .Also there is stripe payment for purchase a class of a trainer as a general member.

Notifications You must be signed in to change notification settings

probeshnath/body-flex-hub-frontend

Repository files navigation

BodyFlex Hub

5 Effective Feature of My website

  • User login and Registration: User can create account with Email & Passwood. Also user can Signup with google. If there is any error, it will be show by toast top center of the display. In our app there are few route are open for everyone. But if he access all route which are only for memmber he must be login . And he login with email and password and social google login . Also signup with email and password.

  • Only trianer can create class. Also other user or admin can read the class. Admin can not create a class. This is only for Trainer. It also store in MongoDB database , he is as an trainer. it only can show the all visitor , member and admin. .

  • There are few private router. Without logged In visitors can not go to this route. When visitor click on these private route, it will be redirect on Login page. When user logged in then he can visit that's protected route. This private route are added for Security purpose, so that one user can access another user information.

  • Become Trainer: when a visitor sign-up in our website then he/ she automatically his role updated as e member. But in app, three types role, everyone are get automatically nember role. But if someone confidence or Knowledge about gym he can applied for bacome a trainer. For became a trainer, he have to provide few information in a form. After his submission it’s forward to the Admin. And his role updated as a applied trainer. Admin can add him as a trainer and also if admin thing that he is not perfect then he can rejected. Then this applied person role again member.

  • Private Route : There are so many route. Few route can access, admin only, few route only trainer access and few route only user can access. Admin can not access user or trainer route, but admin can update user or trainer information.

  • There are a intersting featured that all trainer and admin can create post or forums. And everyone can see that. And also there is like and dislike option.

About

Body Flex Hub is a gym center MERN Website, where user can register as a member. And if he is knowledge as a trainer , he can apply for become a trainer. After admin confirmation he will be a trainer or rejected .Also there is stripe payment for purchase a class of a trainer as a general member.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages