Introduction
This guide will help you get started with BoilerPro. You will learn how to deploy your first Saas app in 5 minutes.
Install Backend
To install the backend, simply clone the repository and run npm install
.
git clone https://github.com/boilerpro/boilerpro-backend.git
cd boilerpro-backend
npm install
Make a copy of the .env.example
file and name it .env
.
cp .env.example .env
Install Frontend
To install the frontend, simply clone the repository and run npm install
.
git clone https://github.com/boilerpro/boilerpro-frontend.git
cd boilerpro-frontend
npm install
Make a copy of the .env.example
file and name it .env
.
cp .env.example .env
Get your AWS credentials
You need to login to your existing AWS account or signup for a new one. Get your credentials by following these steps:
- Go to: http://aws.amazon.com/ (opens in a new tab)
- (OPTIONAL) Sign Up & create a new account (they'll give you the option for 1 year trial or similar)
- Go to your AWS account overview
- Account menu in the upper-right (has your name on it)
- sub-menu: Security Credentials
Copy the Access key ID and Secret access key to your .env file on "boilerpro-backend".
AWS_ACCESS_KEY_ID=your_access_key_id
AWS_SECRET_ACCESS_KEY=your_secret_access_key
Install AWS CDK
BoilerPro backend is built with AWS CDK. You need to install the AWS CDK CLI to deploy the backend. You have to install the AWS CLI, and then install the AWS CDK CLI.
You can follow the instructions here: https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html (opens in a new tab)
Get Google OAuth credentials
Go to the Google Cloud Console (https://console.cloud.google.com/ (opens in a new tab)) and create a new project.
Once an organization is created go to Credentials and create a new 0Auth 2.0 Client https://console.cloud.google.com/apis/credentials (opens in a new tab)
Copy your Client ID and Client Secret to your .env file
GOOGLE_CLOUD_CLIENT_ID=your_client_id
GOOGLE_CLOUD_CLIENT_SECRET=your_client_secret