A web application that allows users to search for recipes based on their dietary preferences. Built with Node.js, Express, and EJS, this app retrieves recipe data from an external API and presents it in a user-friendly interface.
- Search for recipes by keyword.
- Display dietary information (gluten-free, dairy-free, vegetarian, vegan).
- Responsive design for both desktop and mobile users.
This project utilizes the Spoonacular API for fetching recipe data.
You can view the live project here: Live Demo
Rate limit: Daily limit for requests are 150 points. Usually, every request is 1 point and 0.01 points per result returned, but there are many exceptions.
- Node.js installed on your machine.
Follow these steps to set up the project locally:
- Clone the repository:
git clone <repository-url> cd <repository-folder>```
- Install dependencies:
npm install
- Create a .env file with your API credentials:
API_URL=<your_api_url> API_KEY=<your_api_key>```
- Start the server:
node index.js
.
├── public/ # Static assets (CSS, JS, images)
├── views/ # EJS templates
├── .env # Environment variables
├── package.json # Project dependencies
└── server.js # Main server file
Feel free to fork the repository and submit pull requests for any improvements!
This project is licensed under the MIT License.
Replace and with the actual URL and name for your project. Add or modify sections as needed based on your project specifics or to include any additional relevant information.