svelte-cookie-auth Svelte Themes

Svelte Cookie Auth

Svelte SPA with HttpOnly cookie based authentication

Svelte Cookie Auth

Svelte single page application (SPA) with HttpOnly cookie based authentication 🔒

> Leer en español

This application completes a project that started with an auth api developed in Node.js (coming soon to GitHub).

As is, it can serve as a template for a SPA that uses HttpOnly cookie based auth.

Features

  • logIn, register and logOut (POST requests to the auth api)
  • Home page (makes GET request to the auth api)
  • routing (with page.js)
  • form validation (with ApproveJs)

Screenshot (register form)

screenshot

Objectives

  1. Develop a frontend that uses the api. The application must make requests to all api endpoints.
  2. Use Svelte. In that sense, the logIn and register forms are the most polished components, in order to explore the features of Svelte and other topics such as routing and client-side validation of forms.

Notes

  • the Home and NotFound pages are placeholders
  • the design is not responsive

Top categories

Loading Svelte Themes