mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
1.2 KiB
1.2 KiB
Auth0 Webtasks - Quick Start
This guide is designed to help you get started as quick as possible.
1. Create a new service
- Create a new service with the
webtasks-nodejstemplate
serverless create --template webtasks-nodejs --path my-service
- Install the dependencies
cd my-service
npm install
2. Set up the credentials
Run the config crendentials command to create a local profile. You will be asked for a phone number or email. You'll immediately receive a verification code. Enter the verification code and your profile will be entirely setup and ready to use.
serverless config credentials --provider webtasks
4. Deploy
Run the deploy command
serverless deploy
5. Invoke
Run the invoke command
serverless invoke --function main