refactor: remove Java code, move web app to project root

- Remove Gradle build, Java sources, Hibernate config, old database.sqlite
- Move Excel data files from src/main/resources/raw/ to data/raw/
- Move Vite+React app from web/ to project root
- Merge package.json into single root-level config
- Update build script paths and CI workflow accordingly
This commit is contained in:
tiennm99 committed 2026-04-13 00:06:22 +07:00
1 parent 00148c2748
commit b9e16f63f8
150 files changed
+2662 -3383

No files matched your search

+5 -13
View File
@@ -19,38 +19,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: |
package-lock.json
web/package-lock.json
- name: Install root dependencies
- name: Install dependencies
run: npm ci
- name: Build database
run: npm run build:db
- name: Compress database
run: gzip -k -9 web/public/thptqg2017.db
- name: Install web dependencies
run: cd web && npm ci
run: gzip -k -9 public/thptqg2017.db
- name: Build site
run: cd web && npx vite build
run: npm run build
- name: Remove uncompressed db from dist
run: rm -f web/dist/thptqg2017.db
run: rm -f dist/thptqg2017.db
- uses: actions/upload-pages-artifact@v3
with:
path: web/dist
path: dist
deploy:
needs: build