Welcome to the KetoHub repository! This web application provides users with access to a database of over 400 ketogenic recipes, making it easier to plan and maintain a keto diet.
- Search for recipes by category or keyword.
- Save your favorite recipes for easy access.
- View detailed recipe information, including preparation time, difficulty, ingredients, and nutritional information.
Ensure you have the following installed on your local machine:
- Node.js (v16.x or later)
- npm (v7.x or later) or yarn for package management
- Git for cloning the repository
-
Open your terminal and navigate to the directory where you'd like to clone the project.
-
Run the following command to clone the repository:
git clone https://github.com/ShyneADL/recipe-app.git
-
Navigate into the project directory:
cd recipe-app
To install the necessary packages, run one of the following commands based on your package manager: Using npm:
npm installUsing Yarn:
yarn install-
Create a .env.local file in the root directory of the project.
-
Add the necessary environment variables to the file. Below is an example of the variables you may need:
NEXT_PUBLIC_RAPID_API_KEY=<your_api_key>Replace <your_api_key> with your actual API key.
To start the application locally, run:
Using npm:
npm run devUsing Yarn:
yarn devThe application will start on http://localhost:3000.
To create a production build of the application, use the following command:
Using npm:
npm run buildusing yarn:
yarn buildTo start the production server, run:
Using npm:
npm run startUsing yarn:
yarn startI welcome contributions! To contribute:
- Fork the repository.
- Create a feature branch:
git checkout -b feature/your-feature-name. - Commit your changes:
git commit -m "Add some feature". - Push to the branch:
git push origin feature/your-feature-name. - Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.