we plan to aquire an SSL certificate to achieve safe/encrypted transfer of secrets between our front-end and back-end.
since each session is independent of each other due to our policy not including accounts, so no secrets are saved in our db.
anthropic, openai, and google api keys are welcome! feel free to fork and add integration for your own if you want :).
we find the runtime of executing the same prompt on each of the models and assign tasks accordingly.
cd backend
# build backend image
docker build -t squarenetes-backend:latest -f Dockerfile .
# build worker image
docker build -t squarenetes-worker:latest -f Dockerfile.worker .
# verify images
docker images | grep squarenetes
# apply deployment
kubectl apply -f deployment.yaml
# verify pods are running
kubectl get pods
kubectl get svc
# port forward to access backend
kubectl port-forward service/squarenetes-service 8000:8000
cd ..
cd frontend
# install dependencies
npm install
# start development server
npm start
to see server-client logs right-click, click inspect element, then click console. # squarenetes_2