Code Monkey home page Code Monkey logo

clojure-rest's Introduction

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

clojure-rest's People

Contributors

maochaokuo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.