Pouzz App - Get Anonymous confessions from friends, family, online random people
- Node.js 18.17 or later
- npm or yarn
- Git
- Clone the repository
git clone https://github.com/hellofaizan/secretmsg.git
cd secretmsg
- Install dependencies
npm install
# or
yarn
- Set up environment variables
Create a
.env
file in the root directory: These are env examples
# Your environment variables here
DATABASE_URL="postgresql://postgres:figscreen@localhost:5432/figscreen"
NEXTAUTH_URL="http://localhost:3000"
NEXT_PUBLIC_Website_URL="http://localhost:3000"
NEXTAUTH_SECRET="testing"
NODE_ENV="development"
# development || production
# Next Auth Google Provider
GOOGLE_CLIENT_ID="google client id"
GOOGLE_CLIENT_SECRET="google secret"
# LemonSqueezy
LEMONSQUEEZY_API_KEY="Paste apikey here"
LEMONSQUEEZY_STORE_ID="Store id here settings/stores"
NEXT_PUBLIC_LS_1_VARRIENT_ID="Veriant id of 1st product"
NEXT_PUBLIC_LS_2_VARRIENT_ID="Veriant id of 2nd product"
LEMONSQUEEZY_WEBHOOK_SECRET="secret"
WEBHOOK_URL="http://localhost:3000/api/webhooks"
# Resend
RESEND_API_KEY="resend api key"
EMAIL_FROM="[email protected]"
- Create table in database
yarn db:sync
- Run the development server
npm run dev
# or
yarn dev
The application will be available at http://localhost:3000
npm run build
# or
yarn build
To start the production server:
npm start
# or
yarn start
Note
API under high priority development
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request