Docs
Installation
Installation
How to install the project.
Create project
Start by unzipping awsmsaas code in your local;
Configure/Setup your project to run on localhost & then deploy to vercel as it will require configurations
Install dependencies
Enter in the folder and install dependencies for your project:
cd awsmsaas
pnpm install
Install pnpm if not installed; its faster node package manager than npm and uses less memory
npm install -g pnpm
Create a .env
file
Copy/paste the .env.example
in the .env
file:
cp .env.example .env
NEXT_PUBLIC_APP_URL=http://localhost:3000
AUTH_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
DATABASE_URL=
RESEND_API_KEY=
EMAIL_FROM=
STRIPE_API_KEY=
STRIPE_WEBHOOK_SECRET=
NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID=
NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID=
NEXT_PUBLIC_STRIPE_BUSINESS_MONTHLY_PLAN_ID=
NEXT_PUBLIC_STRIPE_BUSINESS_YEARLY_PLAN_ID=
Configuration part
Let's check the configuration part for update all environment variables before use pnpm run dev
.