Example app with swagger
This example features how to use swagger with now deployment as the API documentation within a Next.js app.
Deploy the example using ZEIT Now:
Download the example:
git clone https://github.com/abdullahceylan/nextjs-now-swagger.git
cd nextjs-now-swagger
npm install
# or
yarn
Next.js:
npm run dev
# or
yarn dev
API:
npm run api
# or
yarn api
You can access Swagger Docs by using http://localhost:9999/api-docs/
Deploy it to the cloud with ZEIT Now (Documentation).