Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NODE] feat: set up CRUD as example #552

Merged
merged 2 commits into from
Nov 29, 2022

Conversation

TapaiBalazs
Copy link
Contributor

@TapaiBalazs TapaiBalazs commented Nov 22, 2022

Type of change

  • Documentation change
  • Bug fix
  • feature

Summary of change

  • Added CRUD controller to the starter
  • removed supertest e2e testing from the starter, because it is not a requirement

Checklist

  • These changes follow the contributing guidelines
  • This starter kit has been approved by the maintainers
  • Changes for this new starter kit are being pushed to an integration branch instead of main
  • All dependencies are version locked
  • This fix resolves [node-pod] Set Up A CRUD Controller #547
  • I have verified the fix works and introduces no further errors

@TapaiBalazs TapaiBalazs self-assigned this Nov 22, 2022
Base automatically changed from feat/532-add-data-storage-to-the-project to node/starter-express November 28, 2022 11:52
@TapaiBalazs TapaiBalazs linked an issue Nov 28, 2022 that may be closed by this pull request
@TapaiBalazs TapaiBalazs changed the title feat: set up CRUD as example [NODE] feat: set up CRUD as example Nov 29, 2022
@TapaiBalazs TapaiBalazs merged commit eaf2290 into node/starter-express Nov 29, 2022
@TapaiBalazs TapaiBalazs deleted the feat/547-database-crud-setup branch November 29, 2022 14:12
dariodjuric pushed a commit that referenced this pull request Dec 19, 2022
* feat: set up CRUD as example

* fix: remove supertest from repo
dariodjuric pushed a commit that referenced this pull request Dec 20, 2022
* 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]>
temitopeadesoji pushed a commit that referenced this pull request Jan 11, 2023
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[node-pod] Set Up A CRUD Controller
2 participants