Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud saves #2

Open
TechStudent10 opened this issue Dec 18, 2022 · 7 comments
Open

Cloud saves #2

TechStudent10 opened this issue Dec 18, 2022 · 7 comments
Assignees
Labels
backend Issues relating to the backend

Comments

@TechStudent10
Copy link
Member

This is the priority. Figuring out the best approach to saving projects not on the client's computer, but on a database.

Some suggestions:

  • Firebase
  • Supabase
  • MongoDB
  • PostgreSQL
  • Pocketbase
@TechStudent10 TechStudent10 added the backend Issues relating to the backend label Dec 18, 2022
@TechStudent10 TechStudent10 self-assigned this Dec 18, 2022
This was referenced Dec 18, 2022
@TechStudent10
Copy link
Member Author

After watching the latest Fireship video, I've decided I'm going with Pocketbase and maybe Svelte for the UI. Pocketbase should be setup by this weekend (because school).

@TechStudent10
Copy link
Member Author

Setup Pocketbase locally today. I got started on hosting on Fly.io, but didn't finish.

@TechStudent10
Copy link
Member Author

TechStudent10 commented Dec 24, 2022

Hosting on https://pockethost.io. Been an amazing experience so far.

Edit: why was the link to pocketbase?

@TechStudent10
Copy link
Member Author

Been a bit since the last update;

PocketBase has been setup with all the collections needed (for now). So far, logging in/signing up works:

image

And you can create projects, but can't edit them:

image

I also want to eventually convert the entire codebase to TypeScript, but that is going to require a ton of work in order to do so.

@TechStudent10
Copy link
Member Author

Oops! Didn't mean to do that.

@TechStudent10
Copy link
Member Author

Update:

Project editing works:

image

Projects auto-save when anything changes (unlike my previous approach where it saves every 10 milliseconds, didn't work).

@TechStudent10
Copy link
Member Author

BUT loading is a different story...

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues relating to the backend
Projects
None yet
Development

No branches or pull requests

1 participant