Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript in nodejs

Route
  .group(() => {
    Route.get('users', () => {})
    Route.post('users', () => {})
  })
  .prefix('api/v1')
  .middleware('auth')
Source by adonisjs.com #
 
PREVIOUS NEXT
Tagged: #typescript #nodejs
ADD COMMENT
Topic
Name
9+3 =