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

Authentication and DB changes. #21

Merged
merged 3 commits into from
Nov 14, 2021
Merged

Authentication and DB changes. #21

merged 3 commits into from
Nov 14, 2021

Conversation

ppeters0502
Copy link
Contributor

This PR implements the following:

  • After having some major problems with postgres running locally on one machine versus another, we moved to using a simpler SQLite database, making the dev process a little cleaner as far as persisting data.
  • Basic authentication with register, login and logout pages to support user roles in the future
  • Basic auth-checks so that users cannot access the game page (http://localhost:8000/game/host or http://localhost:8000/game/join) without being authenticated. This might be extended in the future to include roles so that users who don't have game hosting permissions can't access "...game/host", but for right now this is just authentication checks.

For User Stories/Issues, this PR closes #15, #18, #8 and #9

@ppeters0502 ppeters0502 merged commit cf77732 into main Nov 14, 2021
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.

As a player, I want to be able to log in so I can host or join a game.
1 participant