xeno097 / multilanguage-mongodb

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:TypeScript 98.8%Language:JavaScript 1.2%