saviomartin/codehouse

"Unhandled Runtime error"

JHevia23 opened this issue · 3 comments

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!

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 😌

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?

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 👍