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

Feat db baserow #27

Merged
merged 17 commits into from
Jul 9, 2024
Merged

Feat db baserow #27

merged 17 commits into from
Jul 9, 2024

Conversation

loup-brun
Copy link
Owner

This adds the option for a Baserow backend and keeps the file local storage db, as a JSON file (rather than a JS file, which will make for easier edits through an eventual CMS like Frontaid).

New .env for environment variables, which should all be set in production (even when empty). For instance, the DB_TYPE is mandatory for specifying the backend configuration (file, baserow).

The PR contains a small refactor, which simplifies the codebase a lot and removes unnecessary sveltekit routes ([eventId]-html, config, etc.). It also documents many variables within the code and improves readibility.

The PR also includes a couple of fixes and improvements.

Most of the app remains backward-compatible, except for the db.js => db.json.

Copy link

vercel bot commented Jul 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
better-web-hytek ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2024 3:44pm

@loup-brun loup-brun merged commit 61227bf into main Jul 9, 2024
2 checks passed
@loup-brun
Copy link
Owner Author

See #26

@loup-brun loup-brun mentioned this pull request Jul 9, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant