-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from kiwilan/develop
Develop
- Loading branch information
Showing
42 changed files
with
1,560 additions
and
959 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
PORT=3000 | ||
HOST=0.0.0.0 | ||
HOST=localhost | ||
HTTPS=false | ||
ENV=development # development, production, test | ||
TOKEN=123456789 # generate with `openssl rand -hex 12` | ||
DOCKER_COMPOSE_PORT=3000 # only used with docker-compose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ screen*.png | |
/src/public/downloads | ||
/coverage | ||
feedrender.db | ||
/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// import type { SupabaseClient } from '@supabase/supabase-js' | ||
// import { createClient } from '@supabase/supabase-js' | ||
|
||
// type Table = 'users' | ||
|
||
// export class Supabase { | ||
// protected constructor( | ||
// protected client: SupabaseClient, | ||
// ) {} | ||
|
||
// public static make(): Supabase { | ||
// const dotenv = globalThis.dotenv() | ||
// const client = createClient(dotenv.SUPABASE_URL!, dotenv.SUPABASE_KEY!, { | ||
// auth: { | ||
// persistSession: false, | ||
// }, | ||
// }) | ||
// const self = new Supabase(client) | ||
|
||
// return self | ||
// } | ||
|
||
// public async table(name: Table) { | ||
// this.client.rpc('create_table', { name: 'cache', columns: ['id SERIAL PRIMARY KEY', 'url TEXT', 'token TEXT'] }) | ||
|
||
// const { error } = await this.client | ||
// .from('countries') | ||
// .insert({ name: 'United Kingdom' }) | ||
|
||
// console.error(error) | ||
// } | ||
|
||
// public async all(name: Table) { | ||
// const { data, error } = await this.client.from('countries').select('*') | ||
|
||
// console.error(error) | ||
// console.error(data) | ||
// } | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// eslint.config.js | ||
import antfu from '@antfu/eslint-config' | ||
|
||
export default antfu({ | ||
markdown: false, | ||
ignores: [ | ||
'./.github/**/*', | ||
'./.github/**/*.md', | ||
'./.vscode/**/*', | ||
], | ||
rules: { | ||
'no-console': 'warn', | ||
'node/prefer-global/process': 'off', | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.