oslabs-beta / TrailGuide

MIT License
0 stars 0 forks source link

feat: backend fetch api and get response from cloudwatch, prepare files for docker #2

Closed homosapientdream closed 2 weeks ago

homosapientdream commented 2 weeks ago

Linked issue/ticket

Description

Sets up the basic back server routing and connects with AWS cloudwatch sdk.

Reproduction steps

  1. npm start
  2. if there is not error. Enter postman chooses 'GET' with this link (http://localhost:3000/api/cloudtrail/events).

Checklist

socket-security[bot] commented 2 weeks ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/aws-sdk@2.1691.0 environment, filesystem, network, shell Transitive: eval +36 103 MB aws-sdk-bot
npm/dotenv@16.4.5 environment, filesystem 0 79.1 kB motdotla
npm/express@4.16.4 environment, filesystem, network Transitive: eval +47 1.59 MB dougwilson
npm/nodemon@3.1.7 environment, filesystem, shell Transitive: network +29 1.02 MB remy

View full report↗︎

aidanprior commented 2 weeks ago

Uses .env for AWS sdk, so to reproduce, you will need to create a server/.env file and include the AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY environment variables.