Skip to content

anhkhoadx/apl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asp.Net Boilerplate sample

This is a simple sample to work with Asp.Net Boilerplate, using Angular as frontend.

Note:

  • All supported features in web app are disabled (user, tenant, role management, localization...), we just focus to the simple Store management: store CRUD, category CRUD and product CRUD.
  • The database relationship is made as simple as possible in order to make a small demo.

Database class diagram:

Steps to run sample

  1. Backend
  • Correct the databae connection string in appsettings.json file
  • Create a new database in SQL Server, named StoreCMS (you can change the name in appsettings.json file)
  • Run Update-Database migration (select EntityFrameworkCore as the default project in Package Manager Console)
  • Run the backend
  1. Front end
  • Update dependencies: npm install
  • Run the web app: ng serve
  • The default account to login
    • username: admin
    • password: welcome