menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Divjoy

The ⚛️ React codebase generator.

Channels
Team

Are there any rest api example best practices for the divjoy template?

March 22, 2020 at 9:02pm

Are there any rest api example best practices for the divjoy template?

March 22, 2020 at 9:02pm
I trying to convert from a SPA vue.js project to next.js for the SEO and decided to start with the divjoy nextjs template. I'm a little lost on the api side.

March 24, 2020 at 6:04pm
Hey there, I'm actually updating Divjoy this week to include database integration. As part of that, you'll be able to export a codebase that includes a basic REST API for talking to a database. Still deciding on exact format for Next.js, but I'd be happy to email over some example code in the next few days. What's a good email to reach you at?
like-fill
1
That would be great - my email is [email protected]. Thanks!
like-fill
1

March 27, 2020 at 2:07am
Just emailed you some example codebases that should help you get setup. Let me know if you have any questions!