Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[node-pod] express-typeorm-postgres kit (#639)
* feat: 530 set up express REST API (#539) * feat: 530 set up express REST API * fix: version lock dependencies * fix: added jest unit test proof * fix: styles and readme updates * fix: renamed project to reflect future technology * fix: set explicit any use to error * Feat/532 add data storage to the project (#551) * feat: set up postgres docker container with seeding * feat: set up typeorm to connect to the database * feat: set up dotenv * feat: document database setup and seeding * fix: version lock new dependencies * fix: added additional commands to readme * fix: Update starters/express-typescript-typeorm-postgres/README.md Co-authored-by: Ihar Dziamidau <[email protected]> Co-authored-by: Ihar Dziamidau <[email protected]> * [NODE] feat: set up CRUD as example (#552) * feat: set up CRUD as example * fix: remove supertest from repo * [NODE] feat: added swagger open api generator (#559) * feat: added swagger open api generator * fix: readme update * fix: remove swagger.json generation * [NODE] feat: added healthcheck endpoint (#556) * feat: added healthcheck endpoint * fix: added status codes package * fix: added configurable ping timeout * fix: check real database connection * fix: applied code review change requests * fix: removed unused variables * fix: renamed and moved file * [node-pod] 1. Configure API middleware (#571) * chore: add cors middleware * chore: add NextFuncion * remove: unused folder * chore: add allowed origins * chore: add dynamic origins cors * fix: allowedorigins host url * fix: allowedOrigins if empty array * chore: document the cors implementation * fix: remove eslint prettier * [NODE] feat: added error handlers (#569) * feat: added error handlers * fix: return with 404 on not found technologies * feat: added unit tests (#584) * [NODE] feat: added customised logger to the application (#573) * feat: added customised logger to the application * fix: mimic console methods in log helper * feat: added unit tests * fix: remove leftover comments * fix: abstract tests * fix: simplify logger * fix: simplify cors env variable * [NODE] Fix/581 move health endpoint (#589) * fix: move health endpoint to match specification * fix: removed /api route, set api docs route to docs * [NODE] Feat/591 seed with typeorm (#593) * feat: seed database with typeorm * docs: added database seeding documentation * fix: removed initdb mount * [NODE] Feat/582 generate production package json with build (#590) * feat: added package.json generator * docs: added entry about the build process * fix: added path.join for windows compatibility * [NODE] Feat/595 add cache to starter kit (#613) * feat: set up docker-compose and database connection retry * feat: added redis cache to docker-compose * feat: set up caching for technology endpoints * feat: updated healthcheck endpoint with redis * feat: set up caching as a secondary system and updated healthcheck endpoint * docs: improved documentation, separated redis related things from cache * fix: interval times and amount, pull images in postinstall, build fix * fix: health check result if cache is down * fix: extracted db operations into a separate service file * fix: health check result updates * [NODE] feat: initial setup of bullMQ (#625) * feat: initial setup of bullMQ * feat: added health check for queue * [NODE] Fix/621 unique docker containers (#627) * fix: infrastructure set up and app startup requirements * docs: updated documentation * [NODE] Refactor/572 rename starter kit (#638) * fix: renamed folder * fix: renamed kit name everywhere * fix: removed postinstall script * fix: added nvmrc * fix: use tabs instead of spaces in the kit * feat: added express starter to starter-kits.json * [NODE] feat: added schema generator (#648) * feat: added schema generator * docs: finish readme * fix: tests and swagger.json changes * fix: use built-in redis adapter from cachified v3.0.1 * docs: update readme with review requests * fix: ran linter * fix: readme mistakes * feat: added kit to website * fix: import caseing Co-authored-by: Ihar Dziamidau <[email protected]> Co-authored-by: Ian Sam Mungai <[email protected]>
- Loading branch information