https://github.com/fedeperin/quickcode
Create, Share and view different pieces of code.
https://github.com/fedeperin/quickcode
Last synced: 11 months ago
JSON representation
Create, Share and view different pieces of code.
- Host: GitHub
- URL: https://github.com/fedeperin/quickcode
- Owner: fedeperin
- Created: 2022-01-23T23:32:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-18T01:00:02.000Z (over 2 years ago)
- Last Synced: 2025-04-09T08:37:07.479Z (about 1 year ago)
- Language: Svelte
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QuickCode
Create, Share and view different pieces of code quickly.
Created using SvelteKit and using Supabase as the database system.
## Contributing
First, git clone this project.
Then, run `npm install` to install the required dependencies.
Once the dependencies are installed, at the main route of the project, create a new file called `.env`.
The `.env` file needs to contain the following code:
```.env
VITE_SUPABASE_ANON_KEY=
VITE_SUPABASE_URL=
```
Next to `VITE_SUPABASE_ANON_KEY=` you need to add a Supabase Anon key, you can get yourse by going to the [Supabase App page](https://app.supabase.io) and creating a new project.
Next to `VITE_SUPABASE_URL=` you need to add a Supabase URL, you will also get it when you create the project.
At the tables section create a new table called code and add the following columns:
- code: It is a text area and it does not have a default value
- lang: It is a text area and it does not have a default value
That's all!
You can run `npm run dev` and use it as a SvelteKit app.