For an easy test you can run the docker hub image
docker run -p 3000:3000 jeanfsorio/fullcycle-next
Alternatively, run the development server, just make sure the port 3000 isn't being used:
npm run dev
You can also use dockerfile or docker compose
docker build -t desafio-next .
docker run -p 3000:3000 desafio-next
# or
docker-compose up
Open http://localhost:3000 with your browser to see the result.
API routes can be accessed on http://localhost:3000/api/chats.
There is a POST and a GET in chats, in the api.http file are two basic routines to try it.