Skip to content

toby-gamez/Tobiso.Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

177 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tobiso.Web

This is Tobiso web.

License

This project is licensed under the MIT License. © 2026 Tobias Heneman

Tasks

  • make a categories controller with service for categories - list categories
  • make post endpoint in PostsController.cs for list of links but anonymous. this version is used to list post to users
  • make a clickable tree of categories in CategoriesControler
  • make editing, adding and removing categories like posts

Migration

Run from the root of your solution (or in Tobiso.Web.App folder):

dotnet ef migrations add InitialCreate --project Tobiso.Web.Api --startup-project Tobiso.Web.App --output-dir Infrastructure/Data/Migrations

Then apply the migration:

dotnet ef database update --project Tobiso.Web.Api --startup-project Tobiso.Web.App

Generate migration script

dotnet ef migrations script --project Tobiso.Web.Api --startup-project Tobiso.Web.App --output InitialCreate.sql

Content Migration

Create a directory with html files, put their path to Tobiso.Migrator and wait. This creates Markdown files in the same directory. Then run Tobiso.Web and execute in CLI following command with your login, password, and directory path:

curl -k -X POST "https://localhost:7270/api/posts/upload-md?directory={your full directory path}" -u {login}:{password}

*this upload doesn't include categories

About

This is Tobiso web.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors