https://github.com/hellofaizan/secretmsg
Tellonym Open Source alternative
https://github.com/hellofaizan/secretmsg
tellonym tellonym-api tellonym-opensource
Last synced: about 1 year ago
JSON representation
Tellonym Open Source alternative
- Host: GitHub
- URL: https://github.com/hellofaizan/secretmsg
- Owner: hellofaizan
- Created: 2024-07-30T18:27:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-09T06:48:45.000Z (over 1 year ago)
- Last Synced: 2025-04-05T03:27:24.307Z (about 1 year ago)
- Topics: tellonym, tellonym-api, tellonym-opensource
- Language: TypeScript
- Homepage: https://pouzz.vercel.app
- Size: 2.38 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pouzz | Anonymous confessions
Pouzz App - Get Anonymous confessions from friends, family, online random people

## Installation
### Prerequisites
- Node.js 18.17 or later
- npm or yarn
- Git
### Installation
1. Clone the repository
```bash
git clone https://github.com/hellofaizan/secretmsg.git
cd secretmsg
```
2. Install dependencies
```bash
npm install
# or
yarn
```
3. Set up environment variables
Create a `.env` file in the root directory: These are env examples
```env
# 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="onboarding@resend.dev"
```
4. Create table in database
```bash
yarn db:sync
```
4. Run the development server
```bash
npm run dev
# or
yarn dev
```
The application will be available at [http://localhost:3000](http://localhost:3000)
### Building for Production
```bash
npm run build
# or
yarn build
```
To start the production server:
```bash
npm start
# or
yarn start
```
## API Documentation
### Authentication
> [!NOTE]
> API under high priority development
## Contributing
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request