-
yarn install
in root, /api & /api-routes folders -
Build api endpoint
Using command
ROUTE=<path> METHOD<method> yarn build
in root directory.// Example $ ROUTE=/test METHOD=get yarn build
-
Run the endpoint
Using command
yarn dev --build <body>
in root directory.// Example $ yarn dev --body '{ "test": 100 }'
-
Notifications
You must be signed in to change notification settings - Fork 0
metuuu/vercel-ncc-test-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published