Refactored project ready for server.

Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
Louis Hollingworth 2024-02-14 17:39:30 +00:00
parent 5a115374b4
commit dd67fc967a
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
36 changed files with 1187 additions and 1003 deletions

View file

View file

View file

View file

@ -6,4 +6,4 @@ import tailwind from "@astrojs/tailwind";
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
integrations: [vue(), tailwind()] integrations: [vue(), tailwind()]
}); });

View file

@ -11,14 +11,15 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/tailwind": "^5.0.0", "@astrojs/deno": "^5.0.1",
"@astrojs/vue": "3.0.0", "@astrojs/tailwind": "^5.1.0",
"astro": "^3.1.1", "@astrojs/vue": "4.0.8",
"tailwindcss": "^3.0.24", "astro": "^4.3.7",
"vue": "^3.3.4" "tailwindcss": "^3.4.1",
"vue": "^3.4.19"
}, },
"devDependencies": { "devDependencies": {
"sass": "1.68.0", "sass": "1.70.0",
"typescript": "^5.2.2" "typescript": "^5.3.3"
} }
} }

File diff suppressed because it is too large Load diff

View file

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View file

Before

Width:  |  Height:  |  Size: 873 B

After

Width:  |  Height:  |  Size: 873 B

View file

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 312 B

View file

Before

Width:  |  Height:  |  Size: 332 B

After

Width:  |  Height:  |  Size: 332 B

View file

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 171 KiB

1
fe/src/env.d.ts vendored Normal file
View file

@ -0,0 +1 @@
/// <reference types="astro/client" />

3
go.work Normal file
View file

@ -0,0 +1,3 @@
go 1.21.6
use ./server

12
justfile Normal file
View file

@ -0,0 +1,12 @@
build-fe:
cd ./fe && pnpm build && cd ..
build-server:
go build ./server
build-all:
cd ./fe && pnpm build && cp -r ./dist .. && cd ..
go build ./server
git:
git add -A && git commit -sS && git push

3
server/go.mod Normal file
View file

@ -0,0 +1,3 @@
module git.ludoviko.ch/lucxjo/friends-best
go 1.21.6

3
server/main.go Normal file
View file

@ -0,0 +1,3 @@
package main
func main() {}

View file