Using node.js. for-deployment branch for amazon deployment
Use the npm package manager (Make sure you are on the root folder)
npm init
then
npm install
Create .env
for environment variables. Add these:
aws-secretKey=x
aws-accessKey=x
portfordevelopment=2021
Create config.js
for configuration data. Add these:
exports.awsConfig = {
"region": "us-east-1",
"endpoint": "http://dynamodb.us-east-1.amazonaws.com",
"accessKeyId": "x",
"secretAccessKey": "x",
"sessionToken": "x"
};
npm start or node app.js