This is fitness site . In the site you can find (Shop,Recipes,Exercises,Calculator for control weight,Trainers and more).
- ASP.NET Core
- Entity Framework Core
- MS SQL Server
- jQuery
- Route(/api/statistics) - you can get statistics for the site , how much ( exercise,products,trainers,classes,recipes) has in the site.
- Route(/api/trainers) - you can get information for all trainers
- Route(/api/trainers/1) - you get information for the current trainer with id 1.
-
Unit testing
-
Component testing
-
Integration testing
Guest Visitors:
- Can check recipes,shop (without buying),classes (only categories of classes)
Logged Users:
- Can add to wish list some products from shop and buy it
- Can check all classes in some categorie and join in the class
- Can calculate how much protein,Fat,Calories,Carbohydrates need to eat per day
- Can candidate for trainer with candidature in main menu (Become Trainer)
Moderator User
- Have access to Admin Panel , but only for adding products,recipes,classes,exercises
Admin User Have full access in Admin Panel
-Adding: classes,recipes,trainers,exercises,products
-Editting: classes,recipes,exercises,products
-Deleting: classes,recipes,exercises,products,trainers
It will seed authomatically categories for classes (Box,Mma,Wrestling...)
Seeding brands of products (Universal,MyProtein,Amix....)
Seeding product types (Protein,Bcaa,L-Carnitine...)
Seeding type of exercises (Biceps,Chest,Back..)
Seeding 20 users with Account Emaila/Username : user0@lionsky.net , user1@lionsky.net, user2@lionsky.net, user3@lionsky.net and like this too user19@lionsky.net Account Password: user12 (For every users between user0@lionsky.net and user19@lionsky.net is same password)
Seeding 2 Roles:
Admin Role :
Account Email/Username : admin@lionsky.net
Password: admin12
Moderator Role :
Account Email/Username : moderator@lionsky.net
Password: moderator12
If you want to add some exercise,products,recipes,classes or trainers , you need to log in with Admin account ( because Moderator don't have Full permission to all functionality of Admin Panel) and from Admin Panel add what you wish .
To add class you need first to have some trainer add ( trainer is add only on real user that he will became trainer) , and after when you have trainer you can add some class with that trainer. Classes without trainer can't be added!
This project is licensed under the MIT License.