Getting Started with Reagent: Greenfield SPA Project with JWT Authentication and GraphQL

Table of Contents

1. Background

This assumes that one is getting started with a greenfield project for a SPA, JWT authentication, and GraphQL for data access.

2. Getting Started

lein new reagent reagent-example

2.1. Versions

  • React 16.2
  • GraphQL 0.13
  • Apollo
  • Redux

2.2. Tools

The following will make working with Reagent project much more user-friendly:

  • cider
  • devcards
  • devtools
  • figwheel
  • re-frame

2.3. Dependencies

  • routing: secretary
  • web sockets: haslett
  • styles: garden
  • data: cljs-http

3. Recipes