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

Building without Next.js #28

Open
awhileback opened this issue Oct 30, 2021 · 1 comment
Open

Building without Next.js #28

awhileback opened this issue Oct 30, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@awhileback
Copy link

Apologies in advance for complete beginner React related questions:

You guys just so happen to have done exactly what I was hoping to do: build a grapes.js instance that uses tailwind blocks. Problem is I'm looking to integrate this into a Django backend, and thus don't really want to use Next, I'd rather create the API endpoints that grapes needs in python, and save the grapes state to the existing database.

Would it be possible to separate the grapes.js build in this project from Next entirely and just build the grapes.js bundle alone?

@LiveDuo
Copy link
Owner

LiveDuo commented Oct 30, 2021

Hey @awhilebac,

You have a few options if the end goal is to integrate Destack with Django and your DB.

  1. Leave Next.js for your frontend and fork the project to change the endpoints from localhost at port 3000 to your Django backend. You can read Destack's backend implementation to guide you build your own.

  2. Wait we until we release the React version of this peoject that as a side effect will allow custom backends. Although I look forward to this it might take a while to find the time to work on it.

  3. Build a clone from scratch and take some ideas from our frontend renderer component.

@LiveDuo LiveDuo added the enhancement New feature or request label Dec 13, 2021
@LiveDuo LiveDuo changed the title possible to build without next? Building without Next.js Jul 1, 2023
@LiveDuo LiveDuo mentioned this issue Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants