Skip to content

EOSIO/webdev-poc-ssr

This branch is up to date with mjk90/boilerplate-nextjs:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7ad2229 · Feb 20, 2020

History

12 Commits
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020
Feb 20, 2020

Repository files navigation

Server Side Rendering Boilerplate POC

To set everything up at once, you can run quick_start.sh.

This repo contains three folders, eosio_docker, app and server:

eosio_docker

eosio_docker contains everything needed to set up the local blockchain containing the notechain application.

app

app contains a Next.js / Redux app with a few pages showing some different features, including:

  • server side rendering
  • server side data population with getInitialProps
  • use of Redux / Redux Saga with Next.js
  • styled components with SSR
  • dynamically loaded components
  • authentication with JWT

To run the front end, cd app and then run yarn dev.

server

server contains an Express app. Only app.js is currently in use. It allows the front end to request a JWT and authenticates user ping attempts.

To run the back end. cd server and then run yarn start.

About

EOSIO boilerplate app in Next JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.5%
  • Shell 21.2%
  • C++ 7.2%
  • Dockerfile 1.1%
  • Other 1.0%