This commit is contained in:
Patrick Alvin Alcala 2025-11-26 16:51:33 +08:00
parent fec3abd5d8
commit bcb83dfea5
13 changed files with 1542 additions and 4019 deletions

View file

@ -0,0 +1,6 @@
[backend]
backend_url = "http://localhost:8080"
[request]
request_retries = 3
request_retry_codes = [400, 404, 405, 500, 502]

View file

@ -1,6 +0,0 @@
import { atom } from 'nanostores'
export const $backendUrl = atom('http://localhost:8080')
export const $requestRetries = atom<number>(3)
export const $requestRetryCodes = atom<Array<number>>([400, 404, 405, 500, 502])

View file

@ -1,10 +1,10 @@
import { atom } from 'nanostores'
[token]
token_name = "dasig" # output: dasig-token
token_encryption = "rsa"
token_expiration = 9 # seconds
export const $tokenName = atom<string>('dasig') // output: dasig-token
export const $tokenEncryption = atom<'rsa'>('rsa')
export const $tokenExpiration = atom<number>(9) // expires in 9 seconds
export const $rsaPublicKey = atom<string>(`-----BEGIN PUBLIC KEY-----
[rsa]
rsa_public_key = '''-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA9Aw5Zasdanf2biS69qoQ
/YZbyIM+LS7LOLNN3ot6nZH1FiTqTNy61ffUA2Y/s3hGz9L0+k6gRu7uGBza6XPU
+iuGdXxZd2mc3lrnPfR6SSllMwGlAVkYpQhmkB19igd8aLUbFiJ3pPKkNocv/yQa
@ -17,4 +17,4 @@ HvEuAHzUBr+GJM9w4/LF1mQSsmblB8q5S7qNaminYAw6wm35lRy7ZlIbJQlj/EyL
lCKWBbUEHkjzRFCoun9VVUc0guQTsTbchPD7Rgzg3SBK3Gws39n12WQPc7jKto0H
N39sJnNzllXw41gKRy9b2uYuaVYaQ0sjrFJ8ITuyO9NDDaEdeBqBBTtbRp2i0O4K
tvT2kItEEnVzjNutUatVOWcCAwEAAQ==
-----END PUBLIC KEY-----`)
-----END PUBLIC KEY-----'''

View file

@ -0,0 +1,11 @@
[website]
name = "Dasig"
description = "An architectural framework for pure speed fullstack development"
[font]
name = "inter"
source = "cdn" # cdn or local
[copyright]
name = "Pat Alcala"
year = 2025

View file

@ -1,10 +0,0 @@
import { atom } from 'nanostores'
export const $websiteName = atom<string>('Dasig')
export const $websiteDescription = atom<string>('A template for next level speed (Solid Version)')
export const $font = atom<string>('inter')
export const $fontSource = atom<'cdn'| 'local'>('cdn')
export const $companyName = atom<string>('Pat Alcala')
export const $copyRightYear = atom<number>(2025)