Skip to content

roman01la/scrum-ssr-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hacker News Clone

Development

start web app build

lein cljsbuild auto dev

start server

rlwrap lein repl
(go)

Project structure

  • client — client-side (ClojureScript) only code
  • ssr — backend (Clojure) code
  • ui — shared UI code (*.cljc)

Client

  • core.cljs — app initialization
  • router.cljs — hooking into HTML5 Hisotry API
  • effects.cljs — effects handlers (HTTP)
  • controllers — state management logic

Server

  • core.clj — app initialization
  • api.clj — data retrieval from storage
  • page.clj — HTML document template rendering
  • resolver.clj — server state retrieval from api
  • middleware — Ring middlewares: Transit format encoding/decoding, RPC API server, route matcher, web app renderer and Etag
  • components — server components: web server, application

About

HN clone app with server-side rendering built with Scrum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages