Skip to content

Raymw1/foodfy

Repository files navigation

Foodfy

Author Languages Stars Forks Contributors

Take your culinary skills to the next level. Cook, Explore & Manage Recipes.



📌 Table of Contents

🚀 Features

  • 👩🏽‍🍳 Explore recipes and find amazing chefs.
  • 🍕 Create an account to manage recipes, chefs and users.
  • 📨 As an administrator of the platform, you're able to invite other users.

👷 Installation

You will need to install Node.js first and Yarn if you prefer, then in order to clone the project via HTTPS, run this command:

git clone https://github.com/Raymw1/foodfy.git

SSH URLs provide access to a Git repository via SSH, a secure protocol. If you have a SSH key registered in your Github account, clone the project using this command:

git clone git@github.com:Raymw1/foodfy.git

Install dependencies

  • NPM: npm install
  • Yarn: yarn install

Create your environment variables based on the examples of .env.local

cp .env.local .env

After copying the examples, make sure to fill the variables with new values.

🏃 Getting Started

Manually setup

You may prefer to manually configure the database and the application.

Install Postgres to create a database.

Execute the follow command to create tables, relationships and procedures:

npm run configure-db

Running seed

In order to prepare the database and also run the application, use the seed file in the seed folder.

You can generate the data already prepared running the seed.js file:

npm run seed-db

Or generating random data running the randomSeed.js file:

npm run random-seed-db

Be sure to fill the Unsplash access key in .env to use their API

Run the following command in order to start the application in a development environment:

npm run dev or yarn dev

📮 Faq

Question: What are the technologies used in this project?

Answer: The tecnologies used in this project are NodeJS + Express Framework to handle the server & Nunjucks to develop amazing views.

Question: Are all kind of users able to create and update chefs or recipes?

Answer: The application has two kind of users: Visitors and Administrators. As a administrator, you're able to create, update and view all the data related to recipes, chefs and also other users. Visitors can also access the admin platform but they don't have access to the views responsable to create and update data.

🐛 Issues

Feel free to file a new issue with a respective title and description on the the Foodfy repository. If you already found a solution to your problem, i would like to review your pull request!

📕 License

Released in 2020. This project is under the MIT license.

Made with love by Raymw1 💜🚀

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published