skuzzle-uk / ttcompanion Goto Github PK
View Code? Open in Web Editor NEWThe purpose of Tabletop Companion is to provide a resource for tabletop gamers.
The purpose of Tabletop Companion is to provide a resource for tabletop gamers.
DBContext file located as below needs to have the rest of the BB players, skills and special rules added to it.
TTCompanion.API/FantasyFootball/DBContexts/DBContext.cs
Once added you can run
add-migrations FinalSeed
from the Package Manager Console of Visual Studio to create the final seed migration. The next time the api is run, the database migration will run and the db will be filled with all of the data.
There is a summary in the file to explain how to add the data, following is the summary and an example of 2 skills already seeded
/// <summary>
/// Seed by creating a var of entity type and then adding var to .HasData of modeBuilder.Entity<Type>
/// </summary>
//Add the var here as a new skill with Id and Name params
var dodge = new Skill(1, "Dodge");
var defensive = new Skill(2, "Defensive");
//each var is added into the .HasData comma separated and on separate lines as below
modelBuilder.Entity<Skill>()
.HasMany(s => s.Players)
.WithMany(p => p.Skills)
.UsingEntity(j => j
.ToTable("PlayerSkill"))
.HasData(
dodge,
defensive
);
Require sign-up and authentication for access to API.
We will need various levels of user:
Administrator,
Consumer,
etc
Users should have access to create/edit their own races, players etc and be able to share these to other users but they should not be able to edit/delete other users items or the original seed data.
This may be better split into separate tasks in the future
Look into why the Skills and Special Rules endpoints are not returning anything
Create a new project Fantasy Football Companion to run on and Windows, Android and possibly iOS.
This project will consume the TTCompanion.API/FantasyFootball endpoints.
Will flesh out later
the api will require some documentation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.