Gathering detailed insights and metrics for louder.ai
Gathering detailed insights and metrics for louder.ai
Gathering detailed insights and metrics for louder.ai
Gathering detailed insights and metrics for louder.ai
npm install louder.ai
Typescript
Module System
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
21
This is a Next.js project bootstrapped with create-next-app
.
Run yarn install
first.
If you previously used
npm
to install packages delete the node_modules folder (rm -rf node_modules
) and re-install dependencies withyarn
.
Create a .env.local
with the following environment variables for testing with the development database
NEXT_PUBLIC_FIREBASE_APIKEY=
NEXT_PUBLIC_FIREBASE_AUTHDOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECTID=
NEXT_PUBLIC_FIREBASE_STORAGEBUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGINGSENDERID=
NEXT_PUBLIC_FIREBASE_APPID=
NEXT_PUBLIC_FIREBASE_MEASUREMENTID=
NEXT_PUBLIC_UPLOADCARE_API_KEY=
NEXT_PUBLIC_STRIPE_API_KEY=
NEXT_PUBLIC_STRIPE_PRODUCT_ID_FOR_PRICE_LIST=
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Check out our Next.js deployment documentation for more details.
The following Firebase features are required and must be enabled and configured prior to deployment
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth != null;
}
}
}
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth!=null;
}
}
}
Install Firebase SDK: npm install -g firebase-tools
Log into Google: firebase login
Deploy with: yarn run build && yarn run deploy
You need to get an API key from https://dashboard.stripe.com/apikeys. You can used test credit cards found at https://stripe.com/docs/testing.
When testing in development, be sure to use development api keys and price codes. In production, you must use production API keys and price codes.
To get payment links working:
Go to the developer console, switch to "Test Mode", use the secret API key for the NEXT_PUBLIC_STRIPE_API_KEY
value in the .env.local
file.
Ensure there is a product in the test environment with a price list. Set the NEXT_PUBLIC_STRIPE_PRODUCT_ID_FOR_PRICE_LIST
enviroment variable to the product id (something like "prod_L5ih8a9vnSN9nM")
You can use the test Credit Card Number: 4242 4242 4242 4242
For production API Keys, you must harden them with Restricted keys to only have specific read/write permissions. The following API Key permissions should be set:
To deploy to production run yarn deploy-prod
No vulnerabilities found.
No security vulnerabilities found.