chore: Halkyon Todo's scaffold joins the repository in apps/todo
Its server, client and app as `serverpod create` made them, with the switch to server-side sessions that was waiting uncommitted, as files: its one commit holds the scaffold alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
649499be23
commit
314a901fa1
5 changed files with 16151 additions and 0 deletions
69
apps/todo/halkyon_todo_server/config/development.yaml
Normal file
69
apps/todo/halkyon_todo_server/config/development.yaml
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# This is the configuration file for your local development environment. By
|
||||
# default, it runs a single server on port 8080. To set up your server, you will
|
||||
# need to add the name of the database you are connecting to and the user name.
|
||||
# The password for the database is stored in the config/passwords.yaml.
|
||||
#
|
||||
# When running your server locally, the server ports are the same as the public
|
||||
# facing ports.
|
||||
|
||||
# Configuration for the main API server.
|
||||
apiServer:
|
||||
port: 8080
|
||||
publicHost: localhost
|
||||
publicPort: 8080
|
||||
publicScheme: http
|
||||
|
||||
# Configuration for the Insights server.
|
||||
insightsServer:
|
||||
port: 8081
|
||||
publicHost: localhost
|
||||
publicPort: 8081
|
||||
publicScheme: http
|
||||
|
||||
# Configuration for the web server.
|
||||
webServer:
|
||||
port: 8082
|
||||
publicHost: localhost
|
||||
publicPort: 8082
|
||||
publicScheme: http
|
||||
|
||||
# This is the database setup for your server.
|
||||
database:
|
||||
host: localhost
|
||||
port: 8090
|
||||
name: halkyon_todo
|
||||
user: postgres
|
||||
#requireSsl: true # defaults to false
|
||||
#isUnixSocket: true # defaults to false
|
||||
dataPath: .serverpod/development/pgdata
|
||||
#maxConnectionCount: 10 # Defaults to 10, a negative or null value removes the limit
|
||||
|
||||
|
||||
maxRequestSize: 524288 # The maximum size of requests allowed in bytes
|
||||
|
||||
sessionLogs:
|
||||
persistentEnabled: true
|
||||
consoleEnabled: true
|
||||
consoleLogFormat: text # Defaults to "json", options are "text" or "json"
|
||||
|
||||
#futureCall:
|
||||
# enabled: true # Defaults to true, set to false to disable scheduling and running future calls
|
||||
# executionEnabled: true # Defaults to true
|
||||
# concurrencyLimit: 1 # Defaults to 1, a negative or null value removes the limit
|
||||
# scanInterval: 5000 # Unit in milliseconds, defaults to 5000
|
||||
|
||||
# Recommended when serving web clients: keeps auth tokens in httpOnly
|
||||
# cookies. Without this, web tokens live in JavaScript-readable storage,
|
||||
# where any XSS can steal them. Web clients opt in with
|
||||
# `client.cookieAuth = true`. Requires `allowedOrigins`; browsers from
|
||||
# origins not in the list lose cross-origin access, including to public
|
||||
# endpoints.
|
||||
#authCookie:
|
||||
# secure: false # Cookies require https; relax only for http://localhost
|
||||
# #name: serverpod_auth # Defaults to "serverpod_auth"
|
||||
# #refreshName: serverpod_auth_refresh # Defaults to "<name>_refresh"
|
||||
# #domain: example.com # Defaults to host-only; set to share across subdomains
|
||||
# #path: / # Defaults to "/"
|
||||
# #sameSite: lax # Defaults to "lax", options are "strict" or "none"
|
||||
#allowedOrigins:
|
||||
# - http://localhost:8082 # The origin serving your Flutter web app
|
||||
4
apps/todo/halkyon_todo_server/config/generator.yaml
Normal file
4
apps/todo/halkyon_todo_server/config/generator.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
type: server
|
||||
|
||||
client_package_path: ../halkyon_todo_client
|
||||
server_test_tools_path: test/integration/test_tools
|
||||
69
apps/todo/halkyon_todo_server/config/production.yaml
Normal file
69
apps/todo/halkyon_todo_server/config/production.yaml
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# This is the configuration file for your production environment.
|
||||
# Typically, you will want to route the traffic through a load balancer
|
||||
# which adds SSL security through https. If you use Serverpod's standard
|
||||
# Terraform scripts to deploy your server, all you need to change in
|
||||
# this file is the examplepod.com domain name.
|
||||
|
||||
# Configuration for the main API server.
|
||||
apiServer:
|
||||
port: 8080
|
||||
publicHost: api.examplepod.com
|
||||
publicPort: 443
|
||||
publicScheme: https
|
||||
|
||||
# Configuration for the Insights server.
|
||||
insightsServer:
|
||||
port: 8081
|
||||
publicHost: insights.examplepod.com
|
||||
publicPort: 443
|
||||
publicScheme: https
|
||||
|
||||
# Configuration for the web server.
|
||||
webServer:
|
||||
port: 8082
|
||||
publicHost: app.examplepod.com
|
||||
publicPort: 443
|
||||
publicScheme: https
|
||||
|
||||
# This is the database setup for your servers. The default for the Google Cloud
|
||||
# Engine Terraform configuration is to connect on a private IP address.
|
||||
# If you are connecting on a public IP (e.g. on AWS or Google Cloud Run), you
|
||||
# connect on the public IP of the database e.g. database.examplepod.com.
|
||||
database:
|
||||
host: database.private-production.examplepod.com
|
||||
port: 5432
|
||||
name: serverpod
|
||||
user: postgres
|
||||
requireSsl: true
|
||||
#isUnixSocket: true # defaults to false
|
||||
#maxConnectionCount: 10 # Defaults to 10, a negative or null value removes the limit
|
||||
|
||||
|
||||
maxRequestSize: 524288 # The maximum size of requests allowed in bytes
|
||||
|
||||
sessionLogs:
|
||||
consoleEnabled: false
|
||||
# persistentEnabled: true
|
||||
# consoleLogFormat: json # Defaults to "json", options are "text" or "json"
|
||||
|
||||
#futureCall:
|
||||
# enabled: true # Defaults to true, set to false to disable scheduling and running future calls
|
||||
# executionEnabled: true # Defaults to true
|
||||
# concurrencyLimit: 1 # Defaults to 1, a negative or null value removes the limit
|
||||
# scanInterval: 5000 # Unit in milliseconds, defaults to 5000
|
||||
|
||||
# Recommended when serving web clients: keeps auth tokens in httpOnly
|
||||
# cookies. Without this, web tokens live in JavaScript-readable storage,
|
||||
# where any XSS can steal them. Web clients opt in with
|
||||
# `client.cookieAuth = true`. Requires `allowedOrigins`; browsers from
|
||||
# origins not in the list lose cross-origin access, including to public
|
||||
# endpoints.
|
||||
#authCookie:
|
||||
# sameSite: lax # Defaults to "lax", options are "strict" or "none"
|
||||
# #name: serverpod_auth # Defaults to "serverpod_auth"
|
||||
# #refreshName: serverpod_auth_refresh # Defaults to "<name>_refresh"
|
||||
# #domain: examplepod.com # Defaults to host-only; set to share across subdomains
|
||||
# #path: / # Defaults to "/"
|
||||
# #secure: true # Defaults to true; the cookie is only sent over https
|
||||
#allowedOrigins:
|
||||
# - https://app.examplepod.com # The origin serving your Flutter web app
|
||||
73
apps/todo/halkyon_todo_server/config/staging.yaml
Normal file
73
apps/todo/halkyon_todo_server/config/staging.yaml
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
# This is the configuration file for your staging environment. The staging
|
||||
# environment is meant to resemble the production environment as much as
|
||||
# possible and may connect to production databases services and data. You use it
|
||||
# for final testing before deploying the production server.
|
||||
#
|
||||
# Typically, you will want to route the traffic through a load balancer
|
||||
# which adds SSL security through https. If you use Serverpod's standard
|
||||
# Terraform scripts to deploy your server, all you need to change in
|
||||
# this file is the examplepod.com domain name.
|
||||
|
||||
# Configuration for the main API server.
|
||||
apiServer:
|
||||
port: 8080
|
||||
publicHost: api-staging.examplepod.com
|
||||
publicPort: 443
|
||||
publicScheme: https
|
||||
|
||||
# Configuration for the Insights server.
|
||||
insightsServer:
|
||||
port: 8081
|
||||
publicHost: insights-staging.examplepod.com
|
||||
publicPort: 443
|
||||
publicScheme: https
|
||||
|
||||
# Configuration for the web server.
|
||||
webServer:
|
||||
port: 8082
|
||||
publicHost: app-staging.examplepod.com
|
||||
publicPort: 443
|
||||
publicScheme: https
|
||||
|
||||
# This is the database setup for your servers. The default for the Google Cloud
|
||||
# Engine Terraform configuration is to connect on a private IP address.
|
||||
# If you are connecting on a public IP (e.g. on AWS or Google Cloud Run), you
|
||||
# connect on the public IP of the database e.g. database-staging.examplepod.com.
|
||||
database:
|
||||
host: database.private-staging.examplepod.com
|
||||
port: 5432
|
||||
name: serverpod
|
||||
user: postgres
|
||||
requireSsl: true
|
||||
#isUnixSocket: true # defaults to false
|
||||
#maxConnectionCount: 10 # Defaults to 10, a negative or null value removes the limit
|
||||
|
||||
|
||||
maxRequestSize: 524288 # The maximum size of requests allowed in bytes
|
||||
|
||||
sessionLogs:
|
||||
# persistentEnabled: true
|
||||
# consoleEnabled: true
|
||||
# consoleLogFormat: json # Defaults to "json", options are "text" or "json"
|
||||
|
||||
#futureCall:
|
||||
# enabled: true # Defaults to true, set to false to disable scheduling and running future calls
|
||||
# executionEnabled: true # Defaults to true
|
||||
# concurrencyLimit: 1 # Defaults to 1, a negative or null value removes the limit
|
||||
# scanInterval: 5000 # Unit in milliseconds, defaults to 5000
|
||||
|
||||
# Recommended when serving web clients: keeps auth tokens in httpOnly
|
||||
# cookies. Without this, web tokens live in JavaScript-readable storage,
|
||||
# where any XSS can steal them. Web clients opt in with
|
||||
# `client.cookieAuth = true`. Requires `allowedOrigins`; browsers from
|
||||
# origins not in the list lose cross-origin access, including to public
|
||||
# endpoints.
|
||||
#authCookie:
|
||||
# sameSite: lax # Defaults to "lax", options are "strict" or "none"
|
||||
# #name: serverpod_auth # Defaults to "serverpod_auth"
|
||||
# #refreshName: serverpod_auth_refresh # Defaults to "<name>_refresh"
|
||||
# #domain: examplepod.com # Defaults to host-only; set to share across subdomains
|
||||
# #path: / # Defaults to "/"
|
||||
# #secure: true # Defaults to true; the cookie is only sent over https
|
||||
#allowedOrigins:
|
||||
# - https://app-staging.examplepod.com # The origin serving your Flutter web app
|
||||
50
apps/todo/halkyon_todo_server/config/test.yaml
Normal file
50
apps/todo/halkyon_todo_server/config/test.yaml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# This is the configuration file for your test environment.
|
||||
# All ports are set to zero in this file which makes the server find the next available port.
|
||||
# This is needed to enable running tests concurrently. To set up your server, you will
|
||||
# need to add the name of the database you are connecting to and the user name.
|
||||
# The password for the database is stored in the config/passwords.yaml.
|
||||
#
|
||||
# When running your server locally, the server ports are the same as the public
|
||||
# facing ports.
|
||||
|
||||
# Configuration for the main API test server.
|
||||
apiServer:
|
||||
port: 0
|
||||
publicHost: localhost
|
||||
publicPort: 0
|
||||
publicScheme: http
|
||||
|
||||
# Configuration for the Insights test server.
|
||||
insightsServer:
|
||||
port: 0
|
||||
publicHost: localhost
|
||||
publicPort: 0
|
||||
publicScheme: http
|
||||
|
||||
# Configuration for the web test server.
|
||||
webServer:
|
||||
port: 0
|
||||
publicHost: localhost
|
||||
publicPort: 0
|
||||
publicScheme: http
|
||||
|
||||
# This is the database setup for your test server.
|
||||
database:
|
||||
host: localhost
|
||||
port: 9090
|
||||
name: halkyon_todo_test
|
||||
user: postgres
|
||||
dataPath: .serverpod/test/pgdata
|
||||
#maxConnectionCount: 10 # Defaults to 10, a negative or null value removes the limit
|
||||
|
||||
|
||||
sessionLogs:
|
||||
persistentEnabled: true
|
||||
consoleEnabled: true
|
||||
# consoleLogFormat: json # Defaults to "json", options are "text" or "json"
|
||||
|
||||
#futureCall:
|
||||
# enabled: true # Defaults to true, set to false to disable scheduling and running future calls
|
||||
# executionEnabled: true # Defaults to true
|
||||
# concurrencyLimit: 1 # Defaults to 1, a negative or null value removes the limit
|
||||
# scanInterval: 5000 # Unit in milliseconds, defaults to 5000
|
||||
Loading…
Reference in a new issue