Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write usage documentation #16

Open
jthomerson opened this issue Feb 26, 2019 · 1 comment
Open

Write usage documentation #16

jthomerson opened this issue Feb 26, 2019 · 1 comment
Assignees
Milestone

Comments

@jthomerson
Copy link
Member

Need to write usage documentation in the README. It should include:

  • any differences from the API of Express (notably, mounting sub-routers)
  • examples of middleware, request handlers, error handlers
  • hello world
@jthomerson jthomerson added this to the 1.0.0 milestone Feb 26, 2019
@jthomerson jthomerson self-assigned this Feb 26, 2019
@jthomerson
Copy link
Member Author

Explanation of the event paths you need, e.g.:

functions:
   api:
      name: 'your-fn-name'
      handler: src/YourAPI.handler
      memorySize: 512
      timeout: 2
      events:
         - http: 'ANY /'
         - http: 'ANY /{proxy+}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant