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
- Svelte, vite, typescript
- Firebase auth, storage, firestore, hosting
- Google analytics
- Svelte flowbite components
- Svelte flowbite icons
- GitHub actions
- openapi-generator-cli
- carta-md
- math-live
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
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.
All firestore:
npm run backup-firestore
One collection (e.g. categories):
npm run backup-firestore categories
All storage:
npm run backup-storage