Sendax is a message engine. It can send/order sending scheduled routine messages over the Internet by HTTP request
- set the NODE_ENV = "production"
- set MLAB_SENDAX_URI = "/connection string/"
- set CRYPTO_KEY = "/the email password/"
- docker-compose up -d mongo
- docker-compose up mongo-seed
- docker build -t app --build-arg crypto_key= .
- docker-compose up app
- order sending by request the http://localhost:3000/mail////0/0//
- -- For repair the project tests I need inject the mongoose - http://brianflove.com/2016/10/04/typescript-declaring-mongoose-schema-model/, http://rob.conery.io/2012/02/24/testing-your-model-with-mocha-mongo-and-nodejs/ 1.1 -- Should to refactoring the tests structure - http://www.albertgao.xyz/2017/06/19/test-your-model-via-jest-and-mongoose/, https://www.terlici.com/2014/09/15/node-testing.html, http://www.scotchmedia.com/tutorials/express/authentication/1/06
- -- Organize the project structure - https://github.com/basarat/typescript-book/blob/master/docs/quick/nodejs.md
- Extend the app by add the Telegram support - https://core.telegram.org/api/obtaining_api_id
- Add history and active orders