React: Production Server Setup Part 2 - Live Coding with Jesse
See a professional front-end developer at work. Unscripted. Mistakes included.
Watch me set up a DigitalOcean droplet that will run run Ubuntu, Node, Express, React via Next.js and Nginx as a reverse proxy. I will also eventually secure the server using LetsEncrypt.
UPDATE: Toward the end of the video, I run the command: sudo pm2 startup systemd. This was a mistake. Run it without the sudo and follow the instructions given in the output. If you did follow my video instructions, just use: sudo pm2 unstartup systemd. This will undo everything and you can type the command correctly.
Digital Ocean Guides:
Ubuntu 16.04: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
Nginx: https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-16-04
NodeJS: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
Repo: https://github.com/fus-marcom/ci-react
React: https://facebook.github.io/react/
Next.js: https://github.com/zeit/next.js/
Materialize: http://materializecss.com/
Twitter: https://twitter.com/JesseRWeigel
Youtube: https://www.youtube.com/c/JesseWeigel29
Code Editor: https://atom.io/
Terminal: https://www.iterm2.com/
Project Management: https://trello.com
-
We're busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.
Join our community at https://freecodecamp.com
Read great tech articles at https://medium.freecodecamp.com