A Deno-powered backend service for Plants vs. Zombies: MODDED. [Read-only GitHub mirror] docs.pvzm.net
express typescript expressjs plant deno jspvz pvzm game online backend plants-vs-zombies zombie javascript plants modded vs plantsvszombies openapi pvz noads
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Delete old TODO.md file

authored by

Clay and committed by
GitHub
bbf955b3 b784171f

-64
-64
TODO.md
··· 1 - # TODO 2 - 3 - ## High Priority 4 - 5 - - [x] **Separate Test UI and Admin UI Controls**: There should be a way to disable the test UI without also disabling the admin UI 6 - - Add `USE_TEST_UI` environment variable to control access to `/index.html` test interface 7 - - Keep `USE_PUBLIC_FOLDER` for admin UI but add conditional routing for test interface 8 - - This would allow production deployments to disable testing while keeping admin functionality 9 - 10 - - [x] _(Removed in favor of NGINX)_ ~~**Fix SSL/HTTPS Implementation**: The previous SSL implementation was incomplete and non-functional~~ 11 - - The SSL certificate and key were read but not actually used to create an HTTPS server 12 - - Needed to implement proper HTTPS server with Express.js or migrate to native Deno HTTPS 13 - - Needed to add proper SSL error handling and validation 14 - 15 - ## Medium Priority 16 - 17 - - [x] **Environment Configuration Management** 18 - - Create a `.env.example` file with all available environment variables 19 - - Add environment variable validation on startup 20 - - Document all configuration options in README.md 21 - 22 - - [x] **API Security Improvements** 23 - - Implement API key authentication for programmatic access 24 - - Add request size limits for file uploads 25 - - Consider adding CSRF protection for admin endpoints 26 - - Add rate limiting for API endpoints (especially `/api/levels` POST) 27 - 28 - - [ ] **Database Improvements** 29 - - Add database migrations system for schema changes 30 - - Implement database connection pooling 31 - - Add database backup/restore functionality 32 - - Add indexes for better query performance (author, created_at, etc.) 33 - 34 - - [ ] **Error Handling & Logging** 35 - - Implement structured logging (JSON format) 36 - - Add error tracking/monitoring integration 37 - - Improve error messages for better debugging 38 - - Add request/response logging middleware 39 - 40 - ## Low Priority 41 - 42 - - [x] **Code Quality & Maintenance** 43 - - Split main.ts into separate modules (routes, middleware, database, etc.) 44 - - Add TypeScript strict mode configuration 45 - - Implement unit tests for core functionality 46 - - _(Decided against: API should not be public. README.md has instructions for the API.)_ ~~Add API documentation (OpenAPI/Swagger)~~ 47 - 48 - - [ ] **Feature Enhancements** 49 - - Add level search by tags/categories 50 - - Implement level comments/reviews system 51 - - Add user profiles and level collections 52 - - Add level statistics and analytics dashboard 53 - 54 - - [ ] **Performance Optimizations** 55 - - Implement response caching for level listings 56 - - Add CDN support for static files 57 - - Optimize database queries with prepared statements 58 - - Add pagination limits and validation 59 - 60 - - [ ] **Deployment & DevOps** 61 - - Add Docker containerization 62 - - Create deployment scripts 63 - - Add health check endpoint (`/api/health`) 64 - - Implement graceful shutdown handling