Skip to content

atasayugras/recipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Finder App


Description

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.


Features

  • Search for recipes by keyword.
  • Display dietary information (gluten-free, dairy-free, vegetarian, vegan).
  • Responsive design for both desktop and mobile users.

API

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.


Getting Started

Prerequisites

  • Node.js installed on your machine.

Installation

Follow these steps to set up the project locally:

  1. Clone the repository:
    git clone <repository-url>
    cd <repository-folder>```
    
  2. Install dependencies:
    npm install
    
  3. Create a .env file with your API credentials:
    API_URL=<your_api_url>
    API_KEY=<your_api_key>```
    
  4. Start the server:
    node index.js
    

Directory Structure

.
├── public/            # Static assets (CSS, JS, images)
├── views/             # EJS templates
├── .env               # Environment variables
├── package.json       # Project dependencies
└── server.js          # Main server file

Contributing

Feel free to fork the repository and submit pull requests for any improvements!

License

This project is licensed under the MIT License.

Instructions for Use

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.

Releases

No releases published

Packages

No packages published