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

"Unhandled Runtime error" #7

Open
JHevia23 opened this issue Jul 4, 2021 · 3 comments
Open

"Unhandled Runtime error" #7

JHevia23 opened this issue Jul 4, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@JHevia23
Copy link

JHevia23 commented Jul 4, 2021

Hey! Very nice project!

I could build the project seamlessly after cloning, but when I run npm run dev I come up with an error. The page loadsa correctly and this message pops up:
image

I went to console logs and the following appears

image

My guess is that I'm not setting up the HarperDB database URL and authentication ID correctly. In fact, could you point me to where I should get an authentication ID from HDB? I managed to create a new instance (and its corresponding URL).

Thanks!

@saviomartin
Copy link
Owner

saviomartin commented Jul 6, 2021

I don't really know why this happened to you, I think it is the problem you haven't put your .env.

Here is how to get one using harperDB

  1. Create a new instance
  2. Create tables called cheatsheets, categories etc
  3. Click on examples tab, here you could see examples as well your DB_URL and AUTHORIZATION_ID.

Cheers! Savio Martin 😌

@saviomartin saviomartin added the documentation Improvements or additions to documentation label Jul 6, 2021
@JHevia23
Copy link
Author

Ok! Nice!

So I'd have to create each table manually for the app to function? Where can I find the whole architecture to build it up or is it documented anywhere?

@saviomartin
Copy link
Owner

saviomartin commented Jul 16, 2021

You can just create some tables like cheatsheets and add its data (less than 5 mins)

You can just upload your data, Here is the complete data backup-data.csv. Just upload it and you're good to go 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants