Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove TS/JS/Svelte refs #195

Merged
merged 2 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions .github/workflows/client.yml

This file was deleted.

35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

<div align="center">

[![Discord](https://img.shields.io/discord/1011702194925490186?color=blue&label=discord&logo=discord)](https://discord.gg/yde6mcgs2C)
![Build](https://github.com/TownHall-HQ/TownHall/workflows/build/badge.svg)
![Clippy](https://github.com/TownHall-HQ/TownHall/workflows/clippy/badge.svg)
![Formatter](https://github.com/TownHall-HQ/TownHall/workflows/fmt/badge.svg)
[![Discord](https://img.shields.io/discord/1011702194925490186?color=blue&label=discord&logo=discord)](https://discord.gg/yde6mcgs2C)
![Build](https://github.com/TownHall-HQ/TownHall/workflows/build/badge.svg)
![Clippy](https://github.com/TownHall-HQ/TownHall/workflows/clippy/badge.svg)
![Formatter](https://github.com/TownHall-HQ/TownHall/workflows/fmt/badge.svg)

</div>

Expand Down Expand Up @@ -53,6 +53,8 @@ cargo run serve

> Note: As of today migrations runs when bootstrapping the server automatically

### To read the documentation of the web [here](crates/web/README.md)

## Software Architecture

### Layers
Expand All @@ -63,7 +65,7 @@ the services.

<div align="center">

![softarq](https://github.com/TownHall-HQ/TownHall/assets/34756077/86abfb8d-8e96-4e93-9677-4e0864f53da6)
![softarq](https://github.com/TownHall-HQ/TownHall/assets/34756077/86abfb8d-8e96-4e93-9677-4e0864f53da6)

</div>

Expand All @@ -77,17 +79,17 @@ present but are not 100% accurate to the original Domain Driven Design architect

The client and server solution is available in this repository.

Directory | Description
--- | ---
`client` | Web Front-End, written in SvelteKit & TypeScript
`crates/` | Contains GraphQL Server Logic, CLI and Domain libraries. Rust is the predominant language.
`crates/cli` | CLI used to manage the Server instance. run database migrations and other developer tasks
`crates/core` | Domain Logic, includes Models, Value Objects, Repositories and Services
`crates/entity` | Entities generated from database
`crates/migration` | Database migrations
`crates/server` | HTTP Server Logic, uses Axum and GraphQL
`crates/test` | E2E Tests for the GraphQL Server
`crates/web` | Web UI, written in Leptos
| Directory | Description |
| ------------------ | ------------------------------------------------------------------------------------------ |
| `client` | Web Front-End, written in SvelteKit & TypeScript |
| `crates/` | Contains GraphQL Server Logic, CLI and Domain libraries. Rust is the predominant language. |
| `crates/cli` | CLI used to manage the Server instance. run database migrations and other developer tasks |
| `crates/core` | Domain Logic, includes Models, Value Objects, Repositories and Services |
| `crates/entity` | Entities generated from database |
| `crates/migration` | Database migrations |
| `crates/server` | HTTP Server Logic, uses Axum and GraphQL |
| `crates/test` | E2E Tests for the GraphQL Server |
| `crates/web` | Web UI, written in Leptos |

## Testing

Expand All @@ -114,7 +116,6 @@ just e2e_test

Teardown containers using `just undev`.


## Contributors

<table>
Expand Down
2 changes: 0 additions & 2 deletions client/.env.example

This file was deleted.

13 changes: 0 additions & 13 deletions client/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion client/.npmrc

This file was deleted.

7 changes: 0 additions & 7 deletions client/LICENSE

This file was deleted.

50 changes: 0 additions & 50 deletions client/README.md

This file was deleted.

27 changes: 0 additions & 27 deletions client/biome.json

This file was deleted.

Binary file removed client/bun.lockb
Binary file not shown.
13 changes: 0 additions & 13 deletions client/codegen.yml

This file was deleted.

61 changes: 0 additions & 61 deletions client/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions client/postcss.config.cjs

This file was deleted.

7 changes: 0 additions & 7 deletions client/src/app.css

This file was deleted.

25 changes: 0 additions & 25 deletions client/src/app.d.ts

This file was deleted.

15 changes: 0 additions & 15 deletions client/src/app.html

This file was deleted.

37 changes: 0 additions & 37 deletions client/src/hooks.server.ts

This file was deleted.

Loading
Loading