Skip to content

Conversation

@nanyi-deng
Copy link
Contributor

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

  • [x ] I've followed the Contributing guidelines
  • [x ] I've titled my PR according to the Conventional Commits spec
  • I've added tests that fail without this PR but pass with it
  • I've linted, tested, and commented my code
  • I've updated documentation (if appropriate)

@socket-security
Copy link

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↗︎

@nanyi-deng nanyi-deng requested a review from aidanprior October 10, 2024 16:59
@aidanprior aidanprior merged commit 6108446 into dev Oct 10, 2024
2 checks passed
@aidanprior aidanprior deleted the homosapientdream/api-routes branch October 10, 2024 18:01
@aidanprior
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants