Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.51 KB

README.md

File metadata and controls

44 lines (29 loc) · 2.51 KB

Sample Kubernetes Project

This project is intended to help you explore and learn Codezero, and to show you how various features can help greatly accelerate and enhance your Kubernetes development experience.

Note: This project does not contain all possible Kubernetes scenarios, and does not illustrate all Codezero features. If you would like to see anything that is not covered in these samples, please submit a Pull Request and contact us on our Discord. We welcome new feature requests!

While the services in this project are written in NodeJS, Codezero and Kubernetes are language agnostic. We chose JavaScript given its familiarity among a wide range of developers.

Architecture

The project comprises the following services and their equivalent deployments:

  • Frontend
  • Core
  • Leaf
  • Database
  • Sockets
  • External (dummy.restapiexample.com)

The following diagram assumes this project is deployed to the sample-project namespace and uses Traefik for ingress.

Diagram

Getting Started

Dependancy

-Node.js >= v16 -MongoDB

docker run -d -p 27017:27017 --name codezero-mongo mongo:latest

After cloning the project, you can build and run all the services locally using yarn:

yarn install
yarn start

Open http://localhost:3030 in a browser to view the running services.

Tutorials

We have put together a number of tutorials that can be found in our official documentation. This Sample Project is used in all of the tutorials, and the first tutorial walks you through using the Sample Project to perform local development against an application running in a Kubernetes cluster.