An open API service indexing awesome lists of open source software.

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.

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).