This repository represents backend application of Scriptium
- .NET 10 SDK
- EF Core .NET Tools (
dotnet tool install --global dotnet-ef) - Docker (Optional)
You should already have installed SDK for .NET 10 and EF Core .NET Tools.
git clone https://github.com/kaanoz1/scriptium-backend.git
cd scriptium-backendAfter that, you can run this project either locally or Docker.
You should create you own appsettings.json.
cp appsettings.Development.Example.json appsettings.Development.json # For Development
cp appsettings.Development.Example.json appsettings.json # For Productionif you use docker, you should pass this environment variables into the container. The program will stop you unless you pass necessary environment variables. You can get a hint from appsettings.json files to understand which variables are necessary.
Project automatically detects uncommitted migrations and apply them automatically. Check out Program.cs. if you want to do it manual. Run:
dotnet ef database updatedotnet restore
dotnet build
dotnet runOnce running, the API is typically available at http://localhost:5000 (check your console output for the specific port).
You are good to go.
This project is licensed under the MIT License on behalf of Scriptium.