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

Store session information in database #26

Open
jamesgeer opened this issue Sep 10, 2022 · 0 comments
Open

Store session information in database #26

jamesgeer opened this issue Sep 10, 2022 · 0 comments
Labels
backend Issue relates to koa, node or other in backend and may include database.

Comments

@jamesgeer
Copy link
Owner

jamesgeer commented Sep 10, 2022

Currently, session information is stored in memory so if the server restarts/crashes/runs out of memory/etc the session is lost, I'm also unsure if the current session method supports multi-user login.

https://github.com/koajs/session

Use the "Session" model located in backend/prisma/schema.prisma

Diagram: https://dbdiagram.io/d/62dfe8db0d66c74655535221

@jamesgeer jamesgeer added the backend Issue relates to koa, node or other in backend and may include database. label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issue relates to koa, node or other in backend and may include database.
Projects
None yet
Development

No branches or pull requests

1 participant