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

feat: Setup app routing and api key based auth #3

Merged
merged 3 commits into from
Jul 19, 2022
Merged

Conversation

nkshah2
Copy link
Contributor

@nkshah2 nkshah2 commented Jul 18, 2022

Summary

  • Adds react-router-dom and adds basic routing for the default react landing and api key based auth to the app
  • Adds a component for making sure that there is an API key in storage before rendering any route other than /auth
  • Adds an auth page that prompts the user for an API key and calls the key validation API to make sure it is valid before allowing access to the rest of the dashboard

server/index.ts Outdated Show resolved Hide resolved
@rishabhpoddar rishabhpoddar merged commit 6ac1168 into master Jul 19, 2022
@rishabhpoddar rishabhpoddar deleted the auth-setup branch July 19, 2022 11:16
rishabhpoddar added a commit that referenced this pull request Sep 12, 2023
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.

2 participants