This is a template to be used in Mia Platform console to create a new monorepo Frontend application using NextJS (React based) with SSR support.
The microservice comes with one page, the index
one
http://localhost:3000
and it implements the technical endpoints for Kubernetes
/-/check
/-/healthz
/-/ready
Make sure you have installed the following tools
Open the terminal in the application folder and hit
npm run install
npm run dev
The microservice comes with Build&Deploy GitLab pipeline (see .gitlab-ci.yml
), simply push the code and tag it when you want to deploy.
The build and deploy process complies the application and enables SSR (Server Side Rendering)