Commit Graph

9 Commits (b17fca259054444a61608cfb3d2e50b7ca52bfd0)

Author SHA1 Message Date
Trivernis b17fca2590 API changes and error pages
- added pagination for most list types
- added count for pagination list
- added 404 and 500 error page
5 years ago
Trivernis c68f11080f Data access improvements
- fixed votes
- added column constraints
- added post not found error to vote
5 years ago
Trivernis 57338355a7 Added Sequelize
- added sequelize for database management
- added sequelize models under dataaccess/datamodels
- removed postgres-only stuff
5 years ago
Trivernis b671845337 Added CORS 5 years ago
Trivernis 7b94e4e3da Added in-memory caching
- added class for caching management
- added cache parameter to sql query object
- implemented caching for sql querys with cache = true
- added loglevel to config
- improved some methods of dataaccess classes to enable better caching
5 years ago
Trivernis c97d0ffe55 Api functions
- added chat message functions
- added markdown rendering
- added custom error classes
5 years ago
Trivernis 69e535276b Added sessions 5 years ago
Trivernis 20d7198010 Database and App init
- added database table creation 
- added init method to DAO
- added init method to App
- added start method to App to start listening on the configured port
5 years ago
Trivernis 0dcd590b80 Database Connection
- added QueryHelper
- added DAO
- added `default-config.yaml`
- added auto-copying of the `default-config.yaml` to a `config.yaml` on startup if no config exists
5 years ago