dreamrealblue: in that post, in the first example, WHAT is the endpoint? "/"?
dreamrealI like the expression of get/post/head/patch as functions in the route - that makes sense, I like that a lot. But where's the tying of the route to the endpoint? how do I see 'this route is mapped to /hello' or whatever?
dreamrealI'm sure it's there, it's just not exposed in the blog and should be
bluethis has been the case since primate's inception, it's not new
dreamrealIf I were you, I'd point that out in this entry
dreamrealsure
dreamrealbut not everyone knows that
dreamrealand it's the question that's going to come up
blueI will grant you that and add it. however: every blog post says, "if you're new to primate, read this", and the file-system based routing is the first thing explained there
blueand if you're not new to primate... well you should know that
dreamrealI hear you, but I'd still include a nod to it: "```typescript\n# this might be routes/hello.ts, so the url would be http://.../hello\n```
blueA route file at `routes/hello.ts` is automatically mounted at `/hello` —
blueno registration required. To mount to `/`, create `routes/index.ts`.