lein ring server 7776
http://127.0.0.1:5500/client/index.html
URL | METHOD |
---|---|
/user | GET |
/user/:id | GET |
/user | POST |
/user/:id | PUT |
/user/:id | DELETE |
CREATE TABLE _user (
id SERIAL PRIMARY KEY,
name varchar(32),
pay double precision,
age integer
);
requirements
- ring
- compojure
- org.clojure/java.jdbc
- org.postgresql/postgresql
- ring-cors
- axios (client)