bitjson/typescript-starter

Node.js application - simple server example

iztsv opened this issue ยท 5 comments

iztsv commented
  • I'm submitting a ...
    [ ] bug report
    [X] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

Thanks for the tool! Great work!

If I choose Node.js application type during installation I have a library example in src folder.

What do you think about generate simple web server as example in src if user select Node.js application type?

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

yea, I was thinking something similar - maybe an "express" option instead?

on a side note, I have a much more "C# / Java / es6" version of most of the demo classes... Any way I could integrate these? or should I do a different repo or? (meaning they're all "export class / interface" instead of exporting individual functions...)

@ilyaztsv @chadbr I'd be very happy to take a PR for adding an express option! Even if the PR is just for the actual code, I'm happy to integrate it in the CLI.

iztsv commented

@bitjson thanks for the reply!

I'll try to do it as soon as have enough time.

Do you prefer express example of may be koa? ๐Ÿ˜„

Interesting -- after looking at my comments I failed to mention I am doing expess web api's only...

I'll take a crack also (slim down my current solution stack...) -- and we can compare / improve?

Thanks, Chad

iztsv commented

No problem :) I am planning to create PR at Saturday or Sunday.