Question

How to start SPA with nodejs? What next ?

Hello, i am new with VPS and ubuntu. Can you explain me step by step what i must to do for start work with nodejs+mongo+express+angular stack? I mean:

  1. i create droplet with nodejs 4.1
  2. I update npm to latest version
  3. install build-essentials 4)Create new user and add him to root gruop 5)… What next? install and setting nginx? Where to place index.html files and other? I rly don’t know. I created and destroyed about 10 droplet and can`t setting them to start learn this JS stack. Very thank for answers.
Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @shobhitmshr002:

Can you follow: https://www.digitalocean.com/community/tutorials/how-to-build-spas-single-page-applications-using-nodejs-sailsjs-and-dustjs-in-ubuntu-14-04

Also if you are interested to use MEAN stack then I can suggest something,comment if interested.

View the original comment