Skip to content

Releases: scobca/codex-backend

ElasticSearch API via TypeScript & Nest.js v1.0.0-beta

18 Oct 00:18
Compare
Choose a tag to compare

ElasticSearch API via TypeScript & Nest.js v1.0.0-beta

The main points worth paying attention to:

  • Creatiing web-API based on TypeScript as an example for integration ElasticSearch service in the backend projects.
  • App was created with integration mock-methods for working with database (specifically - Postgres db), you can run Postgres and ElasticSearch via docker-containers which you can find in "docker" directory (don't forget to create .env file with properties for ElasticSearch authorization and db.conf file for succsessful connection to the database. All examples you can find in the root of the project (for .env) and in the "config" folder (for the db.conf).
  • If you will use another database (not postgres), you'll have to change field "dialect" in app.module.ts (just fill them with you database dialect)
  • Also, if your ElasticSearch container always crushes and returns Error (78) you need to get it more memory, shell-script for this you can find in directory "config/scripts". You only need to run it in any way that is comfortable for you.

Full Changelog: https://github.com/scobca/codex-backend/commits/release