Routes

The next thing we are going to look at is the routes. Open server outes.ts file and we should see three imports, which define the three API services that we have. defineUserRoutes imports all the routes for User API, defineThreadRoutes imports all the routes for Thread API, and defineMessageRoutes imports all the routes for Message API. Navigate to server outesuser.tsserver outes hread.ts and server outesmessage.ts to view the routes listed.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.136.226