FountainJS / generator-fountain-webapp

Yeoman 'fountain' generator to start a webapp
http://fountainjs.io
MIT License
963 stars 67 forks source link

Server integration with node/express #159

Open aditya61085 opened 8 years ago

aditya61085 commented 8 years ago

Why dont you have fullstack generator yet. None app have only frontend architecture. Do you plan on providing the fullstack generator for ang1, ang2 and react?

brhn-me commented 8 years ago

I also need one :D

zckrs commented 8 years ago

Why dont you have fullstack generator yet. None app have only frontend architecture.

Because they have only 24 hours in 1 day. 😅

FountainJS is not (yet?) a startup or enterprise. We have not much time after a day's work for our respective customers.

Do you plan on providing the fullstack generator for ang1, ang2 and react?

We would like. Contributions are welcome.

MarcLoupias commented 7 years ago

Why dont you have fullstack generator yet. None app have only frontend architecture.

They should have an option to generate a backend project separated from the frontend, but they should not have backend and frontend in the same project.

With SPA architecture, the frontend is a separated app. The backend is another separated app. There is no good reason to put both in the same repository instead of laziness.

If you want to insert some change in your frontend, you should not have to deploy anything about the backend. The opposite is also true, you change business logic in one of your webservices, why would you change the version of your frontend ?

Generating a small express backend to mock your real backend is a totally different matter and should be made but this mocked backend is not deliverable.

Swiip commented 7 years ago

If we have time to do this one day, it will be by composition with the existent frontend generators and I'm pretty sure it will remain 2 separate folders even if there is one centralized generator.

ripper2hl commented 7 years ago

why? I have two yeoman generators for this purpose.

Swiip commented 7 years ago

Because if Fountain has a generator for the front and another for the back, adding one of top of them will be nearly free ;)