Skip to content

Next.JS skeleton with connection between frontend and backend

License

Notifications You must be signed in to change notification settings

bouchal/next-js-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.JS skeleton with connection between frontend and backend

Goal

On internet exists many tutorials and skeletons for creating frontend react application and even more for creating backend server application. But there is almost nothing about connecting it in working APP.

That's goal of this project.

Showing how you can create working react web page based on Next.js with server API connection.

Solved problems

  • Server Side Rendering
  • Separated WEB and API router
  • Styled components rendered on server and append to head element of page
  • LESS file append before styled component in head element of page
  • Passing config constant from server to client
  • Passing data from router do layout

About

Next.JS skeleton with connection between frontend and backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published