8000 GitHub - jleh/suku-backend
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jleh/suku-backend

Repository files navigation

suku-backend

Backend server for genealogy project.

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Running

Create postgres db

docker run --name suku-db -d -p 5432:5432 postgres:alpine

Create .lein-env file and add local db url and authorization for updates

{:database-url "postgresql://localhost:5432/postgres?user=postgres&password=postgres"
:authorization "dGVzdDp0ZXN0"}

Run migrations with lein migrate

To start a web server for the application, run:

lein ring server

For edits basic authentication header should be sent. Above configuration sets credentials to test:test.

License

MIT Copyright © 2018 Juuso Lehtinen

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0