Skip to content

This project implements a solution for backend data internationalization using MongoDB.

License

Notifications You must be signed in to change notification settings

xeno097/multilanguage-mongodb

Repository files navigation

Multilanguage-proposal

node-js nestjs apollo-server-express typescript mongoose Package License

Description

This project implements a solution to allow backend data internationalization. To achieve this goal, it uses MongoDB projections and aggregation framework to process the data and send it to the client in the desired language.

Solution Description

How to run the project

With npm installed on your machine, install project dependencies running the following command:

npm i

Create a .env file in the root of the project that holds the following variables:

  • PORT: the port where the project will be running.
  • MONGO_DB_URI: the mongodb uri used to connect the project to a mongodb database.

Production mode

npm run start:prod

Development mode

The following command runs the project with hot reload enabled.

npm run start:dev

License

MIT

Releases

No releases published

Packages

No packages published