https://github.com/forthtilliath/svelte-codeshare
CodeShareApp: A collaborative platform for sharing code snippets. Built with SvelteKit and powered by PocketBase.
https://github.com/forthtilliath/svelte-codeshare
pocketbase sveltekit typescript
Last synced: about 2 months ago
JSON representation
CodeShareApp: A collaborative platform for sharing code snippets. Built with SvelteKit and powered by PocketBase.
- Host: GitHub
- URL: https://github.com/forthtilliath/svelte-codeshare
- Owner: Forthtilliath
- Created: 2024-03-12T16:09:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-15T16:26:23.000Z (11 months ago)
- Last Synced: 2025-01-30T04:43:01.514Z (4 months ago)
- Topics: pocketbase, sveltekit, typescript
- Language: Svelte
- Homepage:
- Size: 15.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Code Share
A collaborative platform for sharing code snippets. Built with SvelteKit and powered by PocketBase.
## Technologies
- SvelteKit
- PocketBase
- TypeScript## Usage
To get started, clone the repository:
```bash
git clone https://github.com/Forthtilliath/sveltekit_pocketbase_socialmedia.git code-share
```Then, run the following command in the `code-share` directory:
```bash
npm install
```Finally, launch the development server, in twice terminals:
```bash
npm run pb:server
```
```bash
npm run dev
```You will need to create an account first in pocketbase admin. Create a ``.env`` file with the following content:
```bash
PRIVATE_POCKETBASE_EMAIL="EMAIL_USED_IN_POCKETBASE_ADMIN"
PRIVATE_POCKETBASE_PASSWORD="PASSWORD_USED_IN_POCKETBASE_ADMIN"
```### Pocketbase exe
You can use the pocketbase executable in the code-share directory, but if you prefer, you can download the last version of pocketbase from [here](https://github.com/pocketbase/pocketbase/releases).
## Contributing
From this playlist : [Create a Social Media platform using SvelteKit and PocketBase](https://www.youtube.com/watch?v=lmBGGgX4ULs&list=PLaczMID-f687PQq0ZpmJdSkpLUHnvqNIv).