Skip to content

skafis-edtech/bankas-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skafis užduočių bankas $_{LT}$

Problems for content bank (repository for school problems and problem sets). By teachers for teachers and more.

Hosted here: https://bankas.skafis.lt

Uses API: https://api.bankas.skafis.lt/swagger-ui/index.html

Tech

Dev locally

Create .env file from .env.template with environment variables.

docker-compose up -d # Runs backend on docker
npm install # Installs node packages
npm run dev # Hosts on http://localhost:5173
npm run genapi # Generates API client from http://localhost:9000/v3/api-docs

Pipeline

Branches:

  • dev - for dev and test (deploy preview now turned off)
  • main - when PR merged to main, deploys to firebase via gh actions to https://bankas.skafis.lt

Only one instance of database is used.

Backup

All firestore:

npm run backup-firestore

One collection (e.g. categories):

npm run backup-firestore categories

All storage:

npm run backup-storage