a-jaxell / guidernas-guide

This is an app for planning outdoor activities for businesses in the outdoor industry.
0 stars 0 forks source link

Implement server actions in next.js #19

Closed a-jaxell closed 9 months ago

a-jaxell commented 9 months ago

Since API calls from the client will not reach the API I should implement server actions on the API methods on the frontend.

Server actions in next.js will allow the Next.js app to call endpoints on its local network when its deployed.

The reason for this is because the containerized version is hosted in the same docker compose.

Tasks