This app is a Next.js project bootstrapped with create-next-app
.
Please follow all the instruction bellow.
Will install the required packages.
Prerequisites:
- nodejs 18+ must be installed
Will run the nextjs app in a development api.
Make sure only the api service (and dependents) is running by executing these commands from the project root:
docker compose down
docker compose up -d api
Once done, browse to http://localhost:3000.
Will generate a standalone bundle of the app.
Will generate a new version of ./app/typings/openapi-autogenerated.d.ts
file from the openapi.json
file provided by a local api.
Run after any modification to the endpoints and/or types in the api sources.
Prerequisites:
- The api must run and be reachable at
http://localhost:8000