generator icon indicating copy to clipboard operation
generator copied to clipboard

Add Web API template support

Open iphayao opened this issue 6 years ago • 7 comments

I have implemented add web api template support option for express generator for quickly create simple web api without view.

iphayao avatar Jun 09 '18 17:06 iphayao

Anyone review this?

iphayao avatar Jun 15 '18 09:06 iphayao

Currently developers use their own structure / architecture when developing APPs or APIs using the ExpressJS this might leading to bit confusing for other developers when working on someone else developed APPs. It would be great if you can come up with a new boilerplate for both APPs and APIs separately or together.

I have raised this question on Stackoverflow (NODEJS Express application generator for API) and one of its answer directed me to this thread.

This will help to stick in one path for the whole community together. TIA.

mapmalith avatar Oct 02 '19 10:10 mapmalith

Hey Everyone! Sorry that this has sat with no response for so long. I will take a look this weekend, but I see no reason this at the surface that this should be turned down.

That said, I have been working a bit behind the scenes to build a new generator for the project which will hopefully replace this. There are many reasons which I have not well documented, and some of which might be contentious, but I promise I will document them. This re-write is one of the reasons I have not prioritized following up on these issue (which I think was a mistake).

If anyone else wants to help with the process of triaging and getting these lined up for a release on this major version line, the help would be greatly appreciated. The best way to get started being involved is to join our Triage team (cc @expressjs/triagers). You can read more about that here: https://github.com/expressjs/express/pull/4055

wesleytodd avatar Jan 10 '20 21:01 wesleytodd

Ultimately I think we just need to get the new generator going and just not land these types of enhancements to this generator at all.

dougwilson avatar Jan 10 '20 21:01 dougwilson

@dougwilson while I do agree that is the priority, I am sad that this basically means that it is unsupported until I have free time to finish the new one. If someone can step up to triage and get these all sorted, I am fine managing a few point and patch releases so that things do not continue to stall like they have been.

wesleytodd avatar Jan 10 '20 21:01 wesleytodd

Anyway, there is my long, overdue review :)

dougwilson avatar Jan 10 '20 21:01 dougwilson

I am sad that this basically means that it is unsupported until I have free time to finish the new one.

I'm not sure what exactly is unsupported? I am supporting many of the repos like this... in my spare time just like everyone :D

dougwilson avatar Jan 10 '20 21:01 dougwilson