2020 refresh

This guide will be updated use Clojure CLI tools and tools.deps. See the Clojure web server from scratch with deps.edn article and Webapp with deps.edn and httpkit video for examples of what is to come.

Clojure CLI and tools.deps approach

Follow the Clojure tools install guide from Practicalli Clojure, ideally installing a Clojure aware editor too.

To complete all the projects in this guide, you will also need additional development tools

Development Tool Version Test (command line)
A Git client latest git
CircleCI account for continuous integration
Heroku account and Heroku CLI latest heroku --version
Heroku Postgres or local Postres database latest

Heroku is used for uncomplicated deploying of web applications in the cloud as well as provisioning services such as Postgres database on demand. You can skip Heroku if you only wish to run your applications locally or have some other service to deploy them. Install Postres database locally if not using a service such as Heroku.

Investigate other Data services

  • Datomic - a transactional database with a flexible data model, elastic scaling, and rich queries.
  • Crux - an open source document database with bitemporal graph queries
  • Amazon Aurora - MySQL and PostgreSQL compatible cloud native relational database

Leiningen approach (to be archived)

Install Leiningen for the Leiningen Todo App project and test the Leinigen install by running the command lein version in a terminal application.

results matching ""

    No results matching ""