Coder.comC
Coder.com3y ago
19 replies
spoorthy

Need help starting off with nodejs apps on Coder

I am very new to coder and am trying to setup a PoC to deploy developer code(Nodejs react apps) onto a remote developer environment.
We have Coder installed and have a basic template that creates a VM in GCP.
I have VSCode in my local with a ' Coder Remote ' extension that connects to the above VM (workspace).
I am still in process of deploying my node app into coder workspace.

Now the expectations/assumptions are :-
--when a developer creates a new workspace on coder console, it should spin up a VM (righly configured for my app) . And then using vscode , he pushes latest code onto workspace and then the app runs with latest code , ready to test.
-- When developer updates code again, by refreshing the app access url, he can test code changes. (in the same workspace).
Is my above assumption correct ? does it solve my purpose of coder ?

-- Should I pre-configure the template to also install node etc dependencies ?
-- Our apps are docker based, and deployed as kubernetes containers in higher env. Can I make use of the same dockerfiles to spin up workspaces ?

-- Are there any sample templates or docs to install a nodejs app onto coder?
Was this page helpful?