Completely separated client and server sides?
See original GitHub issueI suggest splitting apart server and client sides, making them completely separate and independent directory structures.
Optionally, when the user specifies both, a top level build script could provide shortcuts for automating mundane tasks performed on both sides, like npm install
on both sides; ng serve
on the client side and gulp run-watch
on the server side, etc.
The user could then choose to run build/run scripts separately when convenient or run everything in one go when convenient, depending on specific needs or preferences.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
What do client side and server side mean? - Cloudflare
Client side and server side describe where web application code runs. Learn more about client-side vs. server-side processes and client-side scripting.
Read more >unity3d - How to separate server-side and client-side code
Using Network class you can easily differentation between the server and Client. using UnityEngine; using System.
Read more >Separate client and server import? Ā· Issue #2582 Ā· vercel/next.js
Developing a sophisticated website product with Next.js, Express and a database, I'm using REST and isomorphic fetch for my API abstraction,Ā ...
Read more >What does REST's Client-Server mean now? - Byte Rot
REST has a strong emphasis on separation of client and server. ... Implementing the functionality in the wrong side of wire can be...
Read more >Separation of client and server | EN.601.421 - GitHub Pages
This means that the code on the client/server side can be changed at any time without affecting the other side. RESTful. REST-compliant systems,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Iām using only npm now as per this article: https://www.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/
I have now a completely self contained frontend and a completely self contained backend. My main project has only a .gitmodules file and thatās all.
In particular, Iāve removed gulp from the build process. The reason for that is that now Iām using a tool called s2i from RedHat OpenShift, which builds the application and generates a Docker image which conforms with best practices. Iāve found difficulties running s2i because, in a nutshell, gulp was not installed in the default bootstrap environment, which contains only node and npm. For this reason, Iāve completely eliminated the need of gulp in my build process.
For our information, this is how the build process of the backend looks like:
Doing this way, the backend can be reloaded when sources change, employing npm only.
I hope Iāve contributed with something useful. Thanks a lot for your great work on ng-fullstack! š
Thank you for all the information, @frgomes, itās definitely useful - and itās also a good example for someone who wants to do something like in your case.
š