Skip to content

Commit

Permalink
feat(lgr): create lgr backend (#737)
Browse files Browse the repository at this point in the history
* feat(api): create lgr database

* feat(api): lgr database code clean-up

* feat(api): lgr search and only provide blob data when requested

* feat(api): get all lgrs

* feat (api): add lgr tag category

* fix(dl): fix incorrect status code

* feat(api): lgr file and preview image file in S3

* feat(api): lgr enforce preview image requirement

* feat(api): lgr tag associations

* feat(api): lgr tag typo

* feat(api): lgr tag support

* feat(api): lgr comments

* feat(api): lgr comment notifications

* docs(config): suggest 'local' for accessKeyId

* feat(api): lgr comment notifications #2

* feat(api): lgr editing

* feat(api): lgr default palette check

* feat(api): lgr organize imports

* fix(config): accidentally uncommented dev config

* feat(api): mods can change lgr ownership

* feat(api): cache lgr file endpoints

* fix(yarn): update package.lock
  • Loading branch information
GauChoob authored Feb 6, 2025
1 parent 731654e commit 47e6d19
Show file tree
Hide file tree
Showing 17 changed files with 755 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@

node_modules
events/*
public/temp/*
public/temp/*
temp/*
6 changes: 5 additions & 1 deletion src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import Notification from './notification.js';
import LevelStats from './levelstats.js';
import Crippled from './crippled.js';
import Recap from './recap.js';
import LGR from './lgr.js';
import LGRComment from './lgr_comment.js';

const router = express.Router();

Expand Down Expand Up @@ -59,6 +61,8 @@ router
.use('/levelstats', LevelStats)
.use('/crippled', Crippled)
.use('/recap', Recap)
.use('/taswr', TasWr);
.use('/taswr', TasWr)
.use('/lgr', LGR)
.use('/lgr_comment', LGRComment);

export default router;
Loading

0 comments on commit 47e6d19

Please sign in to comment.