Skip to content

A movie review api enable user can review each movie in different topics and highlight the review

License

Notifications You must be signed in to change notification settings

LANNDS18/Kiwi_review

Repository files navigation

Kiwi_review

A movie review api enable user can review each movie in different topics and highlight the review with customized setting.

User can import multiple movies, each movie contains some topics, user can write review under each topic, highlight the review that user want to concentrate on.

Dependency

  • .NET SDK 6.0.101
  • Microsoft.AspNetCore.Authentication.JwtBearer 6.0.1
  • Microsoft.EntityFrameworkCore 6.0.1
  • Microsoft.IdentityModel.Tokens 6.15.1
  • MySql.Data 8.0.28
  • MySql.EntityFrameworkCore 6.0.0
  • Newtonsoft.Json 13.0.1
  • Swashbuckle.AspNetCore 6.2.3
  • System.IdentityModel.Tokens.Jwt 6.15.1

Download .NET SDK in https://dotnet.microsoft.com/en-us/, install dependencies by NuGet.

.NET 5 is also supported, but need to add some additional importers

Run

Build in project file

dotnet build

Simply run the project

dotnet run

A visual api interface in https://localhost:****/swagger/index.html

Database

MySQL 8.0.26

Create first migration

dotnet ef migrations add InitialCreate

Update database

dotnet ef database update

Add changes

dotnet ef migrations add <NAME>

Note

Using dotnet ef to generate data model is not stable in Arm64 architecture, .Net5 is better recommended to use in this project.

Deployment

dotnet publish -h|--help

Publish .dll to deploy in different platform.

About

A movie review api enable user can review each movie in different topics and highlight the review

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages