Now moves to rhymer as an example, using BaaS library in Rust instead of Parse Server.
Open-source Backend as a Service.
This project is generated by typescript-starter initially.
First, make sure you have nvm
, yarn
, docker
, kubectl
, kind
installed.
-
Run
sh scripts/initdb-docker.sh
to start mongodb in docker. -
Run
sh scripts/init-kind.sh
to initialize k8s(kind). -
Create another terminal and run
kubectl proxy
so that we can access deployments inside the k8s cluster. -
Switch to required node version:
nvm use
-
Install dependencies:
yarn
-
Lint:
yarn fix
-
Test:
yarn test
-
Build:
yarn build
-
Start Server locally:
yarn serve
- Deployment doesn't create new replica set nor give any error:
reinstall kind by
kind delete cluster && sh scripts/init-kind.sh