Skip to content

Commit

Permalink
feat: added initial setup for UI
Browse files Browse the repository at this point in the history
  • Loading branch information
soulsam480 committed Nov 2, 2024
1 parent ce0130d commit 4f87830
Show file tree
Hide file tree
Showing 24 changed files with 1,187 additions and 79 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ erl_crash.dump


.lasso-marks-tracker


# blak hole
node_modules
Binary file added bun.lockb
Binary file not shown.
16 changes: 11 additions & 5 deletions gleam.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name = "okane"
version = "1.0.0"

# Fill out these fields if you intend to generate HTML documentation or publish
# your project to the Hex package manager.
#
# description = ""
description = "A bill splitting app"
licences = ["MIT"]
repository = { type = "github", user = "soulsam480", repo = "okane" }
# links = [{ title = "Website", href = "https://gleam.run" }]
#

[tailwind]
args = [
"--config=tailwind.config.js",
"--input=./src/app/css/app.css",
"--output=./priv/ui/css/app.css"
]
path = "./node_modules/.bin/tailwind"

migrations_dir = "./src/app/db/migrations"
schemafile = "./src/app/db/schema.sql"
Expand All @@ -29,6 +33,8 @@ feather = ">= 1.2.0 and < 2.0.0"
decode = ">= 0.3.0 and < 1.0.0"
birl = ">= 1.7.1 and < 2.0.0"
gleam_json = ">= 2.0.0 and < 3.0.0"
filespy = ">= 0.5.0 and < 1.0.0"

[dev-dependencies]
gleeunit = "~> 1.0.0"
glailglind = ">= 1.1.3 and < 2.0.0"
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello via Bun!");
4 changes: 4 additions & 0 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ packages = [
{ name = "filepath", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "EFB6FF65C98B2A16378ABC3EE2B14124168C0CE5201553DE652E2644DCFDB594" },
{ name = "filespy", version = "0.5.0", build_tools = ["gleam"], requirements = ["fs", "gleam_erlang", "gleam_otp", "gleam_stdlib"], otp_app = "filespy", source = "hex", outer_checksum = "F8E7A9C9CA86D68CCC25491125BFF36BEF7483892D7BEC24AA30D6B540504F06" },
{ name = "fs", version = "8.6.1", build_tools = ["rebar3"], requirements = [], otp_app = "fs", source = "hex", outer_checksum = "61EA2BDAEDAE4E2024D0D25C63E44DCCF65622D4402DB4A2DF12868D1546503F" },
{ name = "glailglind", version = "1.1.3", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_http", "gleam_httpc", "gleam_stdlib", "shellout", "simplifile", "tom"], otp_app = "glailglind", source = "hex", outer_checksum = "4617C93C84172CF99EC05B4706720098A0BF299539DD58DD3D90DB2BF2B472F8" },
{ name = "gleam_crypto", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_crypto", source = "hex", outer_checksum = "8AE56026B3E05EBB1F076778478A762E9EB62B31AEEB4285755452F397029D22" },
{ name = "gleam_erlang", version = "0.27.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DE468F676D71B313C6C8C5334425CFCF827837333F8AB47B64D8A6D7AA40185D" },
{ name = "gleam_http", version = "3.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_http", source = "hex", outer_checksum = "EA66440C2269F7CED0F6845E5BD0DB68095775D627FA709A841CA78A398D6D56" },
{ name = "gleam_httpc", version = "2.3.0", build_tools = ["gleam"], requirements = ["gleam_http", "gleam_stdlib"], otp_app = "gleam_httpc", source = "hex", outer_checksum = "CF6CDD88830CC9853F7638ECC0BE7D7CD9522640DA5FAB4C08CFAC8DEBD08028" },
{ name = "gleam_json", version = "2.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB10B0E7BF44282FB25162F1A24C1A025F6B93E777CCF238C4017E4EEF2CDE97" },
{ name = "gleam_otp", version = "0.12.1", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "BFACC1513410DF5A1617169A9CD7EA334973AC71D860A17574BA7B2EADD89A6F" },
{ name = "gleam_stdlib", version = "0.40.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "86606B75A600BBD05E539EB59FABC6E307EEEA7B1E5865AFB6D980A93BCB2181" },
Expand Down Expand Up @@ -47,6 +49,8 @@ cake = { version = "~> 2.0.1" }
decode = { version = ">= 0.3.0 and < 1.0.0" }
dot_env = { version = "~> 1.2.0" }
feather = { version = ">= 1.2.0 and < 2.0.0" }
filespy = { version = ">= 0.5.0 and < 1.0.0" }
glailglind = { version = ">= 1.1.3 and < 2.0.0" }
gleam_erlang = { version = "~> 0.27.0" }
gleam_http = { version = "~> 3.7.0" }
gleam_json = { version = ">= 2.0.0 and < 3.0.0" }
Expand Down
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "okane",
"type": "module",
"devDependencies": {
"@types/bun": "latest",
"tailwindcss": "^3.4.14"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"daisyui": "^4.12.14"
}
}
9 changes: 9 additions & 0 deletions priv/ui/components/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template :ref="login_form">
<form>
<input
type="text"
placeholder="Type here"
className="input w-full max-w-xs"
/>
</form>
</template>
Loading

0 comments on commit 4f87830

Please sign in to comment.