/test-nested-apps

Try nest api-server into next.js app

Primary LanguageTypeScript

How to try

First, install deps:

yarn

Second, run the development server:

yarn dev

Third, call 'init-nested-api':

curl "http://localhost:3000/api/init-nested-api"

So, nested api server started, call it:

curl "http://localhost:3001/data"