An awesome secret santa app with gifts ideas and random generation!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Secret Santa New Generation is a modern app that simplifies your Secret Santa organization. Here are the main features:
- 🔒 Secure draw: No one, not even the admin, can know who gives to whom
- 🎁 Wishlist: Each participant can create and manage their gift wishlist
- 💡 Gift suggestions: Ability to suggest ideas for other participants
- 📱 Responsive interface: Works on mobile, tablet, and desktop
This guide explains how to set up and deploy the application in different environments.
- Node.js 18+
- Git
- Docker (optional)
- Clone the repository
git clone https://github.com/theoelsti/secret-santa-ng.git
cd secret-santa-ng
- Configure environment
# Copy example environment file
cp example.env .env
# Edit .env and set your variables
ADMIN_TOKEN="your_admin_token"
DATABASE_URL="file:./dev.db"
- Install and run
# Install dependencies
npm install
# Initialize database
npx prisma migrate dev
# Run development server
npm run dev
# or
# Build and run production
npm run build
npm start
# Build the Docker image
docker build -t secret-santa-app .
# Run the container
docker run -p 3000:3000 \
-e ADMIN_TOKEN="your_admin_token" \
-e DATABASE_URL="file:./prod.db" \
secret-santa-app
The application will be available at http://localhost:3000
for local development
-
Get a Postgres server. You can use Neon.tech
-
Fork the repository
-
Connect to Vercel
-
Add New -> Project
-
Import the repository
-
Add environment variables in Vercel dashboard
-
Deploy!
The app url will be available on the dashboard.
-
Create a family
- Log in with your admin token
- Click on "Ajouter une famille"
- Enter Family name
- Add members and add their name
- When done, click "Générer le Secret Santa"
- Share the word
- You can copy a message or the user token
- Send it 1 by 1 to every participants
- They will have an url that put the token in cookies directly
-
Getting started
- Log in to the dashboard
- See the person you're offering to
-
Giving ideas for gifts
- Select a participant, can be you 1 time
- Enter the gift in the input
- Send it !
For more examples, please refer to the Documentation
# Required
ADMIN_TOKEN="your_admin_token"
DATABASE_URL="your_database_url"
- 📨 Email notifications
- 🌐 Multi-language support (FR, EN)
- 🔄 Integration with Amazon/Etsy for wishlists
- 🎨 Dark Theme
- 📊 Advanced admin features
- Add a deadline
- Set a budget
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Project Link: https://github.com/theoelsti/secret-santa-ng