# README
JSON-RPC sample
login/logout & JSON-RPC sample
Startup
Run below commands for each terminals.
> go run .
> cd frontend
> wecty server -p /rp/c=http://localhost:8888
URLs
Static:
- Generated By
wecty server
- index.html
- wasm_exec.js
- main.wasm
- static-files: http://localhost:8080/assets/
- app.css
- jsonrpcclient.js
Views:
- index: http://localhost:8080/#/
- login: http://localhost:8080/#/login
API:
- JSON-RPC endpoint: http://localhost:8080/rpc/ -> http://localhost:8888/
- Service.User(null) -> models.User
- login: POST http://localhost:8080/rpc/login -> http://localhost:8888/login
- logout: POST http://localhost:8080/rpc/logout -> http://localhost:8888/logout
# Packages
No description provided by the author
# Constants
No description provided by the author