MangoTools / generator-sean

Yo generator for sean
MIT License
7 stars 4 forks source link

restful? #4

Closed countrdd closed 9 years ago

countrdd commented 9 years ago

Can this generate the backend Restful API server?

adidoo commented 9 years ago

yes sean:crud-module does the trick

countrdd commented 9 years ago

Thanks.

I typically do a restfull and then a Single Page Application. But it sounds like I can just add the crud and use one code base. Is that correct?

Sorry. Kinda New to Nodejs/Angular..

From: Adrien Bosc notifications@github.com<mailto:notifications@github.com> Reply-To: MangoTools/generator-sean reply@reply.github.com<mailto:reply@reply.github.com> Date: Monday, January 19, 2015 at 9:46 AM To: MangoTools/generator-sean generator-sean@noreply.github.com<mailto:generator-sean@noreply.github.com> Cc: Dustian Countryman countrdd@leillc.net<mailto:countrdd@leillc.net> Subject: Re: [generator-sean] restful? (#4)

yes sean:crud-module does the trick

Reply to this email directly or view it on GitHubhttps://github.com/MangoTools/generator-sean/issues/4#issuecomment-70503701.

jean-baptiste-blanc commented 9 years ago

That would be correct. generate a crud will create your controller models and route on the backend and your Angular controller and views on the front-end. you can generate individual components using the yo generators too.

On 19 January 2015 at 14:51, countrdd notifications@github.com wrote:

Thanks.

I typically do a restfull and then a Single Page Application. But it sounds like I can just add the crud and use one code base. Is that correct?

Sorry. Kinda New to Nodejs/Angular..

From: Adrien Bosc <notifications@github.com<mailto: notifications@github.com>> Reply-To: MangoTools/generator-sean <reply@reply.github.com<mailto: reply@reply.github.com>> Date: Monday, January 19, 2015 at 9:46 AM To: MangoTools/generator-sean <generator-sean@noreply.github.com<mailto: generator-sean@noreply.github.com>> Cc: Dustian Countryman countrdd@leillc.net<mailto:countrdd@leillc.net> Subject: Re: [generator-sean] restful? (#4)

yes sean:crud-module does the trick

Reply to this email directly or view it on GitHub< https://github.com/MangoTools/generator-sean/issues/4#issuecomment-70503701>.

— Reply to this email directly or view it on GitHub https://github.com/MangoTools/generator-sean/issues/4#issuecomment-70504759 .

countrdd commented 9 years ago

Thanks for your help...

I typically run the backend on one port and the SPA on port 80....thanks again!

From: Jean-Baptiste Blanc notifications@github.com<mailto:notifications@github.com> Reply-To: MangoTools/generator-sean reply@reply.github.com<mailto:reply@reply.github.com> Date: Monday, January 19, 2015 at 10:26 AM To: MangoTools/generator-sean generator-sean@noreply.github.com<mailto:generator-sean@noreply.github.com> Cc: Dustian Countryman countrdd@leillc.net<mailto:countrdd@leillc.net> Subject: Re: [generator-sean] restful? (#4)

That would be correct. generate a crud will create your controller models and route on the backend and your Angular controller and views on the front-end. you can generate individual components using the yo generators too.

On 19 January 2015 at 14:51, countrdd notifications@github.com<mailto:notifications@github.com> wrote:

Thanks.

I typically do a restfull and then a Single Page Application. But it sounds like I can just add the crud and use one code base. Is that correct?

Sorry. Kinda New to Nodejs/Angular..

From: Adrien Bosc notifications@github.com<mailto:notifications@github.com<mailto: notifications@github.commailto:notifications@github.com>> Reply-To: MangoTools/generator-sean reply@reply.github.com<mailto:reply@reply.github.com<mailto: reply@reply.github.commailto:reply@reply.github.com>> Date: Monday, January 19, 2015 at 9:46 AM To: MangoTools/generator-sean generator-sean@noreply.github.com<mailto:generator-sean@noreply.github.com<mailto: generator-sean@noreply.github.commailto:generator-sean@noreply.github.com>> Cc: Dustian Countryman countrdd@leillc.net<mailto:countrdd@leillc.netmailto:countrdd@leillc.net> Subject: Re: [generator-sean] restful? (#4)

yes sean:crud-module does the trick

Reply to this email directly or view it on GitHub< https://github.com/MangoTools/generator-sean/issues/4#issuecomment-70503701>.

Reply to this email directly or view it on GitHub https://github.com/MangoTools/generator-sean/issues/4#issuecomment-70504759 .

Reply to this email directly or view it on GitHubhttps://github.com/MangoTools/generator-sean/issues/4#issuecomment-70511289.