---
title: "Discussion on \"Elixir API and Elm SPA - Part 5\" | Hashnode"
description: "Discussion on \"Elixir API and Elm SPA - Part 5\". Part 5: Persisting session data to localStorage\nWe are going to save the session (the token) to the localStorage so on app startup, if it exists, the user can avoid login in again. We're also going to implement the Logout command and add a generic er..."
url: "https://hashnode.com/posts/elixir-api-and-elm-spa-part-5/6171f3740c5e175a1c6138e0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Elixir API and Elm SPA - Part 5](https://blog.miguelcoba.com/elixir-api-and-elm-spa-part-5?utm_source=hashnode&utm_medium=feed)

Part 5: Persisting session data to localStorage We are going to save the session (the token) to the localStorage so on app startup, if it exists, the user can avoid login in again. We're also going to implement the Logout command and add a generic er...

Jun 29, 2018 · 12 min read · blog.miguelcoba.com  
Read the article

-   [#elm](https://hashnode.com/tag/elm)
-   [#elixir](https://hashnode.com/tag/elixir)
-   [#spa](https://hashnode.com/tag/spa)
-   [#apis](https://hashnode.com/tag/apis)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Miguel Cobá](https://hashnode.com/@miguelcoba)

@miguelcoba · Barcelona, Spain

  
[View profile](https://hashnode.com/@miguelcoba)

Elixir and Elm programmer. eBook writer

I write about Elixir, Elm, Software Development, and eBook writing.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
