maochaokuo / clojure-rest

clojure rest api really works

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A REST API in Clojure

origin

A REST API in Clojure reference json

{
      "id" : "some id",
      "title" : "some title",
      "text" : "some text"
}

step 1

initialize the project

lein new compojure clojure-rest

then update project.clj

run the project

lein ring server

step 2

可以了,YA!

step 3, frontend

  1. server side update

open questions or next step

  1. 接下來就改資料庫,可能的話還是用json server

  2. kevin mai 的不能用,這個則不能debug, 能用但不是太理想。不然再 把firefox開的tab都試試

    • 搞定了,可以debug了
  3. frontend, kevin mai的接不下去了,沒法設定銜接的url

change log

2021/9/16

  • server side update for frontend

2021/9/15

  • 搞定了,可以debug了

2021/9/9

  • 神奇了,這個是好的,kevin mai是壞的
  • 可是這個不能debug,有點難用

2021/8/31

  • 可以印出來了!讚

clojure-rest

FIXME

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Running

To start a web server for the application, run:

lein ring server

License

Copyright © 2021 FIXME

About

clojure rest api really works


Languages

Language:Clojure 100.0%