Skip to content

Commit

Permalink
purge supabase
Browse files Browse the repository at this point in the history
  • Loading branch information
scammo committed Jan 4, 2024
1 parent f7ed882 commit dbffe67
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 1,013 deletions.
8 changes: 0 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"deno.enable": true,
"deno.enablePaths": [
"./supabase"
],
"deno.unstable": true,
"[typescript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
}
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ volumes:

services:
backend:
image: ghcr.io/chaostreff-flensburg/simple-borrow:latest
image: ghcr.io/chaostreff-flensburg/pretty-good-proposal/backend:latest
restart: always
volumes:
- storage:/var/www/html/storage
Expand All @@ -30,7 +30,7 @@ services:
max-size: "10m"

frontend:
image: ghcr.io/chaostreff-flensburg/simple-borrow:latest
image: ghcr.io/chaostreff-flensburg/pretty-good-proposal/frontend:latest
restart: always
labels:
- "traefik.enable=true"
Expand Down
11 changes: 5 additions & 6 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,23 @@ Purpose build for [Chaotic Catalyst Scholarships (CCS)](https://ccs.chaostreff-f
You can see a running version [bewerben.ccs.chaostreff-flensburg.de](https://bewerben.ccs.chaostreff-flensburg.de/#/). You can find a very [short talk (2:40 Minutes) from cccamp23 on youtube](https://youtu.be/y4a9_POxGws?si=DWvt5urfD1hWnc-6)

## Features

- Create proposals
- Encyrpt proposals with [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API). For more infomration please have a look at the [lib](./src/lib/) Folder and different files.
- Save encrypted proposals to a database. In this case to supabase
- Encyrpt proposals with [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API). For more infomration please have a look at the [lib](./src/lib/) Folder and different files.
- Save encrypted proposals to a database.
- Only advisary board can decrypt proposals (with a manuel shared private)
- Advisary board can vote and decide on proposals

> This is a work in progress. The application is not ready for easy setup for other projects.
## Technical Setup

### Frontend

#### Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

#### Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

### Backend
#### Supabase
[Supabase](https://supabase.com/) is a backend as a service tool. It has a JS SDK and a Postgres database. It only stores encrypted proposal information. Because of limited resources, this technology was chosen.
Loading

0 comments on commit dbffe67

Please sign in to comment.