Skip to content

aurelian/wilbur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wilbur

Iré a esos polos cuando la Tierra esté despejada, si no puedo comprender la fórmula Dho-Hna cuando la memorice. Los que viven en el aire ma dijeron en el Sabbat que passarán años antes que se despeje la Tierra, y supongo que abuelo muerto entonces, así que tendré que aprender todos los ángulos de los planos y todas las fórmulas entre el Yr y el Nhhngr.

Wilbur Whateley, 26 noviembre 1916

wilbur is a clone of the famous til app made by hashrocket using clojure on the backend and clojurescript with reagent on frontend.

Lein thing

  • lein run starts http server on port 3000
  • lein figwheel connects figwheel
  • lein uberjar

AFAIR this project was generated using reagent template.

Toolbox

createdb wilbur_development

Run migrations from clojure:

(require '[wilbur.db :as db])
(db/migrate-all-things!)

lein migratus and java -jar target/uberjar/wilbur.jar migrate does the same.

lein migratus create do-stuff creates a new migration

Exclude all calls from code bellow warn level:

export TIMBRE_LEVEL=':warn'
lein cljsbuild once
lein uberjar

API

curl -v -H "Content-Type: application/json" -H "Authorization: Token eyJh.." -X PATCH http://localhost:3000/api/v1/posts/1.json -d '{"post": {"title": "Hello"}}'
curl -v -H "Content-Type: application/json" -X POST  http://localhost:3000/api/v1/login.json   -d '{"username": "admin", "password": "secrez"}'

Stuff

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published