kabamgamer / dd2-strategy-hub

This is the open source project of the dd2strategyhub.com webapp
MIT License
0 stars 1 forks source link

Running the project locally (without backend) #46

Open emiln opened 5 months ago

emiln commented 5 months ago

Hi, @kabamgamer, and thank you for making the project. I wanted to check it out locally, but I can't seem to make it work. I'd imagine it's failing to get the Google data:

image

It fails when it tries to load some JSON:

image

Do you have some tips on how to make it load correctly?

kabamgamer commented 4 months ago

Hi @emiln, Thanks for trying out the project!

You assumption is correct, this indeed happens due to the backend not being available. When I first started the project, everything I made was only functional client side, so this open source project was also fully functional for anyone to pull and use. Later on I started adding new features which required a backend for it to work, so this changed quite a bit on how things worked (and kinda broke this open source frontend). As of right now I have not intentions of making the backend open source since it's handling all kinds of data behind an ACL, so for security reasons I will not publish this source.

For the time being, the only thing you can work with is the home page after you close the error notification. That being said, I got this exact request a little while ago from someone else in the DD2 community Discord and I will see what I can do in terms of mocking data for the frontend when a backend API is absent. Do keep in mind though that this is not of my at most priority to pick up.

I'll keep you posted on the matter in this issue.