This is a template to be used in Mia Platform console to create a new monorepo Frontend application using Gatsby (React based) with SSR support.
The microservice comes with one page, the index
one
http://localhost:8000
and it implements the technical endpoints for Kubernetes
/-/check
/-/healthz
/-/ready
and a 404 page (you can edit it into the pages/404.tsx
file)
Make sure you have installed the following tools
Open the terminal in the application folder and hit
npm run install
npm start
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)