laconic-deployer-frontend/apps/backend
2025-05-06 16:42:13 -04:00
..
environments Added project pages and cards, most of the screens in chris samuels figma design document. Still need to implement project initialization modal and walkthrough, connect to backend and connect to wallet (maybe be beyond scope of this project) 2025-05-06 16:42:13 -04:00
src Added project pages and cards, most of the screens in chris samuels figma design document. Still need to implement project initialization modal and walkthrough, connect to backend and connect to wallet (maybe be beyond scope of this project) 2025-05-06 16:42:13 -04:00
test Added project pages and cards, most of the screens in chris samuels figma design document. Still need to implement project initialization modal and walkthrough, connect to backend and connect to wallet (maybe be beyond scope of this project) 2025-05-06 16:42:13 -04:00
biome.json Added project pages and cards, most of the screens in chris samuels figma design document. Still need to implement project initialization modal and walkthrough, connect to backend and connect to wallet (maybe be beyond scope of this project) 2025-05-06 16:42:13 -04:00
package.json Added project pages and cards, most of the screens in chris samuels figma design document. Still need to implement project initialization modal and walkthrough, connect to backend and connect to wallet (maybe be beyond scope of this project) 2025-05-06 16:42:13 -04:00
README.md Added project pages and cards, most of the screens in chris samuels figma design document. Still need to implement project initialization modal and walkthrough, connect to backend and connect to wallet (maybe be beyond scope of this project) 2025-05-06 16:42:13 -04:00
tsconfig.json Added project pages and cards, most of the screens in chris samuels figma design document. Still need to implement project initialization modal and walkthrough, connect to backend and connect to wallet (maybe be beyond scope of this project) 2025-05-06 16:42:13 -04:00

backend

This backend is a node.js express.js apollo server project in a yarn workspace.

Getting Started

Install dependencies

In the root of the project, run:

yarn

Build backend

yarn build --ignore frontend

Environment variables

Local

Copy the environments/local.toml.example file to environments/local.toml:

cp environments/local.toml.example environments/local.toml

Staging environment variables

In the deployment repository, update staging staging/configmaps/config/prod.toml

Production environment variables

In the deployment repository, update production production/configmaps/config/prod.toml

Run development server

yarn start

Deployment

Clone the deployer repository:

git clone git@git.vdb.to:cerc-io/snowballtools-base-api-deployments.git

Staging

echo trigger >> .gitea/workflows/triggers/staging-deploy
git commit -a -m "Deploy v0.0.8"  # replace with version number
git push

Production

echo trigger >> .gitea/workflows/triggers/production-deploy
git commit -a -m "Deploy v0.0.8" # replace with version number
git push

Deployment status

Dumb for now

Update version number manually in routes/staging.ts