Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
baseline-webpage
Advanced tools
A simple React static site that is deployed to AWS using serverless.
A simple React static site that is deployed to AWS using serverless.
Start with a perfect score!
🎉 🎉
See Baseline Webpage in action
npx baseline-webpage@latest my-app
where my-app
is the name of your appcd my-app
and npm run aws:profile
which will configure AWS CLI with a new profile and is only required for deploying from local (if you have issues please update aws cli)npm start
npm run deploy:staging
WebsiteUrl
that the site was deployed to. If you need to find it again you can run npm run info:staging
npm run deploy:staging
*.$DOMAIN_NAME
& $DOMAIN_NAME
To destroy the deployed stack so it is no longer on AWS run npm run remove:staging
.
You can add checks in the code to determine if you are in a deployed or development environment. Development will only be for locally run code. Currently cannot tell the difference between deployed staging and prod.
process.env.NODE_ENV === 'production'
process.env.NODE_ENV === 'development'
The main and prod branches will trigger the action/pipeline to deploy. The stage is determined by the branch name being "prod" or not.
Create two Actions secrets with the AWS account keys you will deploy with:
If you are using the BitBucket pipeline deployment then you will need to set these pipeline environment variables in BitBucket:
Optionally these can be used if staging and prod are in different accounts or the IAM roles have different access:
If you would like to learn more about what we do please visit Baseline
Baseline Webpage is MIT licensed.
FAQs
A simple React static site that is deployed to AWS using serverless.
The npm package baseline-webpage receives a total of 1 weekly downloads. As such, baseline-webpage popularity was classified as not popular.
We found that baseline-webpage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.