$pent is a fun, tongue-in-cheek web application that encourages irresponsible spending by generating random, quirky, and potentially useless items based on your budget. Perfect for those moments when you just want to make some questionable financial decisions!
- 💰 Budget-based item generation
- 🔍 Direct Amazon product search links
- 🎲 Random and unique product suggestions
- 💅 Clean and modern UI
- 🤖 Powered by OpenAI's GPT
- 🛍️ Real-time product recommendations
- Framework: Next.js (App Router)
- Styling: Tailwind CSS
- AI Integration: OpenAI API
- Deployment: Vercel
- Language: TypeScript
- Node.js
- npm
- OpenAI API key
- Clone the repository:
git clone https://github.com/sarahlz01/spent.git
cd spent- Install dependencies:
npm install- Create a
.envfile in the root directory:
OPENAI_API_KEY=your_openai_api_key_here- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
- User inputs their budget
- OpenAI generates quirky product suggestions
- Each product is linked to Amazon search results
- Products are displayed with names and prices
- Users can click through to view products on Amazon
The following environment variables are required:
OPENAI_API_KEY: Your OpenAI API key
The project is deployed on Vercel. For deployment:
- Push your code to GitHub
- Import your repository to Vercel
- Add your environment variables
- Deploy!
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- 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
Made with ❤️ for questionable financial decisions

