Skip to content

sharanapparh/getting-started

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

  • Our NodeJS App is dependent on v18.20.8, you need to install the similar version
  • TCP Port 3000 is enabled in Security Group

Install NodeJS on EC2 Ubuntu instance

# Be root user for all installation
sudo su

# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash

# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"

# Download and install Node.js:
nvm install 18

# Install yarn
apt install cmdtest

To install NodeJS on Windows / MacOS / Linux Distribution

URL --> https://nodejs.org/en/download

Verify the Node.js & npm version:

node -v # Should print "v18.20.8".
nvm current # Should print "v18.20.8".
npm -v # Should print "10.8.2".

Steps to deploy Locally or on DEV environment

  1. Make sure we are root user
sudo su
  1. Clone the app
git clone https://github.com/amigo-nishant/getting-started.git
  1. Change the directory
cd getting-started
  1. Deploy the App
npm install
node src/index.js
  1. Test the App Frontend
http://public-ip-ec2:3000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.8%
  • HTML 4.4%
  • CSS 2.8%