Advertisement
Guest User

Untitled

a guest
Jun 26th, 2024
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. 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.
  2.  
  3. 1. How does making endpoints with path variables in Radiance look? e.g. GET users/{userId}
  4. 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.
  5. 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