mirror of
https://github.com/QWRK-ORG/qwrk-laconic-core.git
synced 2025-12-30 12:04:07 +00:00
* chore: Onboarding components migrated * chore: wrap pages * chore(components): Migrate core and navigation components Migrated core and navigation components from Snowballtools repository: - Core components: Dropdown, FormatMilliSecond, Logo, SearchBar, Stepper, StopWatch, VerticalStepper - Navigation components: GitHubSessionButton, LaconicIcon, NavigationActions, WalletSessionId Follows component migration guidelines with: - Tailwind styling - Consistent file structure - TypeScript type definitions - README documentation * chore(routing): Basic routing within navigation * chore: Import project cards and deps * fix: start services in turborepo * docs: phases for wallet service |
||
|---|---|---|
| .. | ||
| environments | ||
| src | ||
| test | ||
| biome.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
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