Welcome to the Nicolay Recipe Blog! This project was created as part of a class assignment where we were tasked with creating a recipe website. The website was hosted at dnicolay.de.
This is my Recipe Blog, which is a vegan food blog that provides delicious vegan recipes and plant-based living tips. The website was created by me as part of a programming project in class. The goal of the project was to create a fully functional recipe website where users can browse, search, and view recipes.
- Browse a variety of vegan recipes
- Search for recipes using the search bar
- View detailed recipe pages with ingredients and instructions
- Like and dislike recipes
- Add comments to recipes
- Node.js
- Express.js
- EJS
- MySQL
- CSS
- JavaScript
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/DimitriosNicolay/RecipeWebsite.git
-
Navigate to the project directory:
cd RecipeWebsite -
Install the dependencies:
npm install
-
Create a
.envfile in the root directory and add your database credentials:DB_HOST=your_database_host DB_USERNAME=your_database_username DB_PASSWORD=your_database_password DB_DATABASE=your_database_name
-
Start the server:
npm start
-
Open your browser and go to
http://localhost:4000to view the website.