Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobbylite/code-share-api
CodeShare back end Api for sending event driven emails using NodeMailer
https://github.com/bobbylite/code-share-api
event-driven expressjs inversify inversifyjs inversion-of-control ioc ioc-container typescript typescript2
Last synced: about 1 month ago
JSON representation
CodeShare back end Api for sending event driven emails using NodeMailer
- Host: GitHub
- URL: https://github.com/bobbylite/code-share-api
- Owner: bobbylite
- License: mit
- Created: 2018-08-13T10:36:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-14T07:40:08.000Z (over 6 years ago)
- Last Synced: 2024-10-31T08:42:31.309Z (3 months ago)
- Topics: event-driven, expressjs, inversify, inversifyjs, inversion-of-control, ioc, ioc-container, typescript, typescript2
- Language: TypeScript
- Homepage:
- Size: 1.57 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mail Router IOC
This is an IOC Event driven architecture.
Much thanks to Inversify for Inversion of control and Dependency injection in this Typescript mailing router micro service.Used this article by Samuele Resca to get a basic IOC app up and running: https://medium.com/@samueleresca/inversion-of-control-and-dependency-injection-in-typescript-3040d568aabe Thank you!
Grunt + Typescript Boilerplate created with this article by Brian Love: http://brianflove.com/2016/11/08/typescript-2-express-node/
Thank you Brian!## Install
Install the node packages via:
`$ npm install --save`
And then run the grunt task to compile the TypeScript:
`$ npm run grunt`
## Starting
To start the server run:
`$ npm start`
## Moving On From Here...
While testing use the following command to compile and then serve the application.
`$ npm run rebuild`
To test the default get handler use the following curl command (Assuming curl is already installed).
`curl http://127.0.0.1:8080`