A web application that simplifies cooking by decluttering recipes. Users can access clean, distraction-free recipes, save them, and organize their favorites. Built with Next.js, Prisma, and a suite of modern web technologies.
- 🧹 Declutter Recipes: Remove unnecessary content and focus on ingredients and instructions.
- 📂 Save, Edit & Organize Recipes: Manage your favorite recipes in one place.
- 🔒 Secure User Accounts: Seamlessly manage your recipes with personalized accounts using NextAuth.
- 🚀 Fast and Modern: Built with Next.js and TypeScript for optimal performance.
Follow these instructions to set up the project locally.
- Node.js (v18 or later)
- npm or yarn (for managing dependencies)
-
Clone the repository:
git clone https://github.com/yourusername/recipe-declutter.git cd recipe-declutter
-
Install dependencies
npm install
-
Set up the environment:
Create a .env
file in the root directory and include necessary environment variables. Key variables might include:
DATABASE_URL
for PrismaNEXTAUTH_SECRET
for authenticationNEXTAUTH_URL
for app URL
Run the development server:
npm run dev
Visit http://localhost:3000 to see the app in action.
To build and start the application for production:
-
Build the app:
npm run build
-
Install required dependencies for Playwright (used for scraping):
npm run postbuild
-
Start the app
npm start
dev
: Starts the development server.build
: Builds the app for production.postbuild
: Installs Playwright and its dependencies after building.start
: Starts the production server.lint
: Runs ESLint to check code quality.seed
: Seeds the database using Prisma.
- Next.js: Framework for server-rendered React applications.
- Prisma: Database ORM for type-safe database queries.
- NextAuth: Authentication library for secure user accounts.
- Playwright: End-to-end testing and scraping framework.
- TypeScript: For type-safe code.
- Mantine: Modern React UI library.
This project is licensed under the MIT License.