Skip to content

rafaeldelboni/pedestal-datomic-todo-api

Repository files navigation

pedestal-datomic-todo-api

Status

Mixing some Clojure, Pedestal and Datomic to create an API

Built With

Getting Started

These instructions will get the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install to run this project

Restore dependencies

lein deps

Run the application

lein run

This command should start a server on http://localhost:8080.

Running the tests

To run unity the tests

lein test

To run all the tests

lein test :all

Docker

You can use Docker to setup your local dev environment database or test the api without need any above installed.

Prerequisites

Datomic Only

$ docker-compose -f docker-compose-db.yml build
$ docker-compose -f docker-compose-db.yml up -d

Api and Datomic

$ docker-compose -f docker-compose-dev.yml build
$ docker-compose -f docker-compose-dev.yml up -d

This command should start a server on http://localhost:3000.