Project done by Himanshu Kashyap and Nilesh Yadav
https://docs.google.com/document/d/1bqghi-T6iiYl2VvCqCBqE2dU410wLxLXtLVjoAdMEco/edit?usp=sharing
# for server: https://perfect-fitnessh.herokuapp.com
# for client: https://agile-shelf-89927.herokuapp.com
# for server: https://perfect-fitnessn.herokuapp.com
# for client: https://paymentperfect-fitness.herokuapp.com
Project done by Nilesh and Himanshu
Using this route we can register Admin.
This is a common route for Admin, Trainer and User . They can Login to system By providing valid credentials.
This is a common route for Admin, Trainer and User . They can get reset password email by providing registered email of user and perEmail for admin and trainer.
This is a common route for Admin, Trainer and User. They can reset their
password using this route by adding required details.
This is a common route for Admin, Trainer and User. After login they can.
change their password. Accesstoken of respective personality is required in header.
Registered Admin can add products using this route after login to the
System. Access Token of logged admin is required in header.
Registered Admin can update products using this route after login to the
System. Access Token of logged admin is required in the header.
Users can get searched products by passing product name , category ,brand in product query. For pagination page and size in query are required. In mongo for protein search p must be in uppercase.
Users can get all the products. For pagination page and size in query are
required.
Using this route user can get details of the product. By providing productId in
Params.
Using this route users can get all the supplements.
Using this route users can get all the gym wears.
Using this route users can get all the gymgears.
This is a common route for deleting products , membership and gyms.
Admin can delete these things. Header is required.
Using this route, registered admins can add gym after login. Header of admin
is required.
Using this route, registered admins can update the gym after login. Header
of admin is required.
Users can search gyms by country , state ,city. First letter of place must be
capital.
Users can get gyms In India.
Users can see gyms located in states.
Users can get all the details of the gym located in a particular city.
Using this route, registered admins can add gym’s duration of membership
and price of the membership for a particular gym after login. Header of
admin is required.
Using this route, registered admins can update gym’s duration of
membership , price of the membership for a particular gym after login.
Header of admin is required.
Users can search memberships available by country , state ,city.
Users can get memberships available In India.
Users can see memberships available located in states.
Users can get all the details of the memberships available in a particular
City.
Using this route admin can hire a trainer and send a mail containing his
Credentials. Header of admin is required.
This route will be sent in the confirmation email to trainer by clicking on this
link the trainer can confirm his account.
Using this route user can view all the trainers listed in the gym.
Using this route we can get all the details of a single trainer and what diet
and workout plan the trainer has added.
This is a common route for adding workout plans and diet plans. Trainer can
add both after login. Trainer header is required.
This is a common route for adding workout plans and diet plans. Trainer can
Update both after login. Trainer header is required.
This is a common route for deleting workout plans and diet plans.
Trainer can delete these things. Trainer header is required.
Users will be able to access all the diet plans of every category.
Users will be able to access diet plans of veg food categories.
Users will be able to access diet plans of non-veg category categories.
Users will be able to access diet plans of the kitto diet category.
Users will be able to access all the workout plans of every category.
Users will be able to access workout plans of the beginner category.
Users will be able to access workout plans of the intermediate category.
Users will be able to access workout plans of the professional category.
Admin can remove a trainer by providing a trainer id after login. Admin
header is required.
Using this route users can register themselves.
Using this route user can view his profile. User header is required.
A user can via google using this route.
A user can via facebook using this route.
This route will be sent in the confirmation email of user by clicking on this
link the user can confirm his account.
This route will allow the user to set a password after they are logged in
through google and facebook. User header is required.
Using this route users can add products to the cart. User has to provide the
access token in the authorization header.
Using this route users can increase the product quantity in the cart. User has
to provide the access token in the authorization header.
Using this route users can increase the product quantity in the cart. User has
to provide the access token in the authorization header.
This route will help users to view his cart and what product he has added
into the cart. User has to provide the access token in the authorization
header.
Using this route user can buy a single product ,membership , trainer ,
workout plan , dietplan. User has to provide the access token in the
authorization header.
Using this route users can buy a thing which ever he has added to the cart.
User has to provide the access token in the authorization header.
Using this route admin can verify the payment made by the user to razorpay
and capture the payment. Admin header is required for the verification.
Using this route users can add reviews for the product. User header is
required.
Using this route users can update reviews for the product. User header is
required.
Using this route users can delete reviews for the product.User header is
required.
This route will allow users to see review added by the users for a particular
Product.