Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I want to make a REST API that'll interact with another js application. The lisp part will just act as a backend, it won't be responsible for serving the frontend. Both will run on different ports, with the backend just responding to requests made to it.
- 1. How does making endpoints with path variables in Radiance look? e.g. GET users/{userId}
- 2. How does auth work in Radiance? For example, I hit the POST login endpoint for example, and then is it persisted in some session I can check? Are multiple user logins/sessions handled? I want to prevent most endpoints from being executed unless you have a valid login/session.
- 3. If I did want to serve a bundle, like an index.html, how does that look? like if I got to the / endpoint that's my single page application.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement