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

Rewrite complete frontend with SvelteKit #132

Merged
merged 89 commits into from
Mar 13, 2024
Merged

Rewrite complete frontend with SvelteKit #132

merged 89 commits into from
Mar 13, 2024

Conversation

dbrgn
Copy link
Owner

@dbrgn dbrgn commented Dec 26, 2023

The plan:

  • Change backend code to be a pure API
  • New frontend with SvelteKit
  • Frontend is written in JS, but it's not a pure SPA: We prerender code for the static pages and ship it (https://kit.svelte.dev/docs/adapter-static)

This is quite a big change, so it might take a while.

TODO:

  • PoC static pages and base layout
  • PoC user login detection
  • PoC loading dynamic data from API
  • PoC prerendering
  • Migrate CI config, add updated linting steps
  • Port locations page
  • Port profile
  • Port login / logout
  • Port registration
  • Port password change
  • Port glider management
  • Port flight list
  • Port flight details
  • Port flight submission
  • Port flight editing
  • Port flight deletion
  • Port stats
  • Ensure that all example.com domains are gone
  • Ensure that login is enforced for login-only pages
  • Add message to the start page
  • Completely remove old frontend
  • Build and test Docker container
  • Compare with production page using backup data
  • Deploy! 🚀

@dbrgn dbrgn added the enhancement New feature or request label Dec 26, 2023
@dbrgn dbrgn self-assigned this Dec 26, 2023

This comment was marked as resolved.

@dbrgn dbrgn force-pushed the api-mode branch 6 times, most recently from 590c5e3 to 2464006 Compare December 27, 2023 23:09
@dbrgn dbrgn changed the title Switch to new Architecture Rewrite with SvelteKit Dec 27, 2023
@dbrgn dbrgn changed the title Rewrite with SvelteKit Rewrite frontend with SvelteKit Dec 27, 2023
@dbrgn dbrgn force-pushed the api-mode branch 5 times, most recently from e7b317e to 8e00697 Compare January 6, 2024 18:00
@dbrgn dbrgn changed the title Rewrite frontend with SvelteKit Rewrite complete frontend with SvelteKit Jan 6, 2024

This comment was marked as outdated.

@dbrgn
Copy link
Owner Author

dbrgn commented Jan 21, 2024

@SocketSecurity ignore npm/[email protected]
@SocketSecurity ignore npm/[email protected]
@SocketSecurity ignore npm/@sveltejs/[email protected]

@dbrgn dbrgn marked this pull request as ready for review March 13, 2024 21:37
@dbrgn dbrgn merged commit c643bfe into main Mar 13, 2024
10 checks passed
@dbrgn dbrgn deleted the api-mode branch March 13, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant