Skip to content

shirazJafri/recipe-nutrition

Repository files navigation

Nutrition Recipe API (Laravel)

A RESTful API built with Laravel to manage recipes, ingredients, and cooking steps while integrating a Nutrition API to calculate nutritional values.

Installation

  1. Clone the repository:
git clone https://github.com/shirazJafri/recipe-nutrition.git
cd recipe-nutrition
  1. Install dependencies:
composer install
  1. Configure .env: Update external API credentials in the .env file:
NUTRITION_API_URL=https://api.example.com
NUTRITION_API_USERNAME=your_username
NUTRITION_API_PASSWORD=your_password
  1. Run migrations:
php artisan migrate:fresh.
  1. Run the application:
composer run dev
  1. Testing if things works as expected:

One can utilize the cURL_examples.sh file in the project directory post server-startup to interact with the application and perform the relevant CRUD operations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published