This repository contains the backend in node.js for the TWITTER Profile test.
- Install node js
- Clone the project
git clone https://github.com/jusevesi/testZemoga-backend
- Install node modules
npm install
- Create a .env file with the following information, adding the credentials for AWS DynamoDB
#Twitter API credential - BEARER TOKEN
AUTHORIZATION = AAAAAAAAAAAAAAAAAAAAAPwMdgEAAAAAtipRTiEgNh8IzvGdxHYgSqjjG6Q%3DBsQIb5HKaad8eAx31Pii29hx1NkuSyeyS4gbTsyzd7QHjaFP4F
#PORT
PORT = 8080
#AWS Credentials - **Please insert your credentials**
AWS_region: us-east-1
AWS_ACCESS_KEY_ID: #Your_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: #Your_AWS_SECRET_ACCESS_KEY
- Execute the project
npm start
Tests. Execute test
npm run test