diff --git a/README.md b/README.md index 2460f3e..b4ccb89 100644 --- a/README.md +++ b/README.md @@ -1 +1,19 @@ # EasyEat + +An android app for managing recipes and shopping lists + +## Setup + +### Backend + +In the `backend/API` folder, copy `appsettings.example.json` into +`appsettings.json` and fill out the values. Run `dotnet run` to +start the server, it should automatically connect to the database +and migrate. + +### Frontend + +In the `app` folder, change the URLs inside `gradle.properties` to match +those where the server is running and run `./gradlew buildRelease` or +click Run inside Android Studio to build the project. + diff --git a/backend/API/appsettings.example.json b/backend/API/appsettings.example.json index c3763aa..2a19b3b 100644 --- a/backend/API/appsettings.example.json +++ b/backend/API/appsettings.example.json @@ -8,13 +8,16 @@ "AllowedHosts": "*", "ConnectionStrings": { - "Database": "Data Source=database.sqlite3" + "Database": "" }, - "JwtSettings": { - "Issuer": "TemperatureAlarmApi", + "Issuer": "EasyeatAPI", "Audience": "Customers", "Key": "" + }, + "OpenAI": { + "APIKey": "", + "Model": "gpt-4.1" } }