Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@baselinejs/core
Advanced tools
Baseline JS is a serverless first full-stack JavaScript framework for building modern web applications.
BaselineJS is an open-source, fullstack TypeScript, serverless first framework designed to make building cloud native applications easier. Our framework utilizes a combination of modern technologies, architectures and operational processes to help teams to efficiently build and deploy robust applications
If you like BaselineJS give us a ⭐️
Website | Documentation | Discord | LinkedIn | YouTube
Startups, want $10k USD of AWS Credits to Get Started? Apply Here
Video walkthroughs setting up Baseline
pnpm run install:requirements
npx @baselinejs/create-app my-app-name
pnpm install
pnpm run setup
to name your project and set the regionpnpm run aws:profile
to setup your AWS credentials profile (if you have issues please update aws cli)pnpm run deploy:staging
to deploy api/web/adminpnpm run add:user:staging
to add an admin user to the applicationpnpm run urls:staging
To see your project URLsThese must be installed before following the setup instructions.
nvm install 20 && nvm use 20 && nvm alias default 20 && nvm install-latest-npm
node -v
, npm -v
pnpm -v
, install with npm install -g pnpm@9
or other methodsbrew install jq
sudo yum install jq
or sudo apt-get install jq
, or other appropriate methodsbrew install java
sudo yum install java
or sudo apt-get install openjdk-8-jdk
, or other appropriate methodsAlternatively, try the experimental requirements installation script. Use at your own risk.
If you are starting a new Baseline project.
curl -o- https://raw.githubusercontent.com/Baseline-JS/core/main/scripts/experimental-install-requirements.sh | bash
or
wget -qO- https://raw.githubusercontent.com/Baseline-JS/core/main/scripts/experimental-install-requirements.sh | bash
If you are joining an existing Baseline project
pnpm run install:requirements
If the project is already setup and you are trying run the project locally make sure you run pnpm run aws:profile
first so that you have the correct credentials for AWS configured locally.
Start the api, admin and web in their own terminal windows/tabs with the following commands.
pnpm run generate:env:local
to generate the env files for the frontend clientspnpm run start:api
pnpm run start:admin
pnpm run start:web
packages/api/serverless.yml
) or the payload set by AUTHORIZER
in packages/api/scripts/run-api-local.sh
.Swap staging
to prod
to deploy to production. All environment variables will be automatically set in the process.
pnpm run deploy:staging
to deploy api/web/adminTo destroy the deployed cloudformation stacks so it is no longer on AWS run pnpm run remove:staging
. This will likely destroy all data associated with the application.
If you would like to learn more about what we do please visit Baseline
FAQs
Baseline JS is a serverless first full-stack JavaScript framework for building modern web applications.
We found that @baselinejs/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.