• This repository has been archived on 15/Oct/2022
  • Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MVC application to explore, manage recipes and chefs - built with Express, Nunjucks, and Postgres

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.
  • ๐ŸŒ Multi language support - English and Portuguese.
  • ๐ŸŽจ A cool dark mode theme toggle.

Obs: The admin platform isn't all translated yet.

๐Ÿ‘ท Installation

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

git clone https://github.com/LauraBeatris/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 [email protected]:LauraBeatris/foodfy.git

Install dependencies

yarn install

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

cp .env.example .env

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

๐Ÿƒ Getting Started

Running with docker-compose

In order to prepare the database and also run the application, set your environment variables and then execute docker-compose

docker-compose up

With this command, the port seted in your environment PORT variable will be available to access the application.

Manually setup

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

Install Postgres to create a database or if you have Docker in your machine, fill the environment values related to database configurations and the run the following commands in order to create a postgres container.

docker-compose up postgres

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

yarn db:create

To start, run the seeds provided in Seeds in order to populate the database with an initial data.

yarn run:seeds

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

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 & SCSS to handle the styles architecture and a better maintenance than normal CSS.

Question: How the multi language support is handled by the server?

Answer: This application handle multi language support with the help of a library called i18n-node. It has a middleware that gather language settings of visitors and then persist translations from JSON files related with a specific locale.

The locale is storaged as a cookie named foodfy:locale and that can be changed by passing a query string with the value ?lang=pt

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 love to review your pull request! Have a look at our contribution guidelines to find out about the coding standards.

๐ŸŽ‰ Contributing

Check out the contributing page to see the best places to file issues, start discussions and begin contributing.

๐Ÿ“• License

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

Made with love by Laura Beatris ๐Ÿ’œ๐Ÿš€

More Repositories

1

use-selected-items-hook

Easily select items based on an array
TypeScript
147
star
2

laurabeatris.com

My portfolio built with Next.js, Chakra UI and GraphCMS
TypeScript
140
star
3

amazon-next

A simple mock and re-concept of Amazon - built with Next.js, Firebase, and Framer Motion
JavaScript
126
star
4

apollo-cache-management-talks

Slides of my talks about Cache Management on Apollo Client 3
JavaScript
59
star
5

wizards-apollo

An application for my talk about caching management with Apollo Client 3
JavaScript
54
star
6

goeat-api

Rest API for a food delivery application - Built with Express, Postgres, Redis, MongoDB and Nodemailer
JavaScript
54
star
7

gympoint-api

Rest API of a gym management application - built with Express, Postgres, Redis, and Nodemailer.
JavaScript
47
star
8

pokedex-nextjs

Get to know the different render methods that the Next.js framework provides by exploring Pokemons
TypeScript
46
star
9

hotseat-api

Rest API of a barber shop application - Built with Express, TypeORM and Postgres
TypeScript
38
star
10

gobarber-web

Manage appointments in barbershops - Built with React Native and Styled Components
TypeScript
37
star
11

gympoint-mobile

Student platform of a gym management application - Built with React Native, Styled Components and Redux
JavaScript
35
star
12

github-explorer

Explore GitHub repositories - built with React.js and Styled Components.
TypeScript
35
star
13

gympoint-web

Admin platform of a gym management application - Built with React.js, Styled Components and Redux
JavaScript
34
star
14

react-router-testing-utils

A collection of utilities to test React Router with React Testing Library (Work in progress ๐Ÿšง)
TypeScript
33
star
15

bill-splitting

Concept of a bill splitting app - Built with React Native, Ant-Design, and Styled Components
TypeScript
30
star
16

next-motion

page transitions with nextjs and framer motion api
JavaScript
30
star
17

recipes-next-hasura

A lightweight app to explore and create recipes - Built with Next.js, Hasura, and Chakra-UI
TypeScript
30
star
18

paypal-transactions

A re-concept of Paypal focused on financial transactions management - Built with React.js, Styled Components, and SWR
TypeScript
27
star
19

codio

๐Ÿ‘ฉโ€๐Ÿ’ป git ui application made with reactjs and styled components
JavaScript
24
star
20

starry

Turn your ideas into Van Gogh's Starry Night - Powered by Vercel, AuthKit and Replicate ๐Ÿ’ซ
TypeScript
24
star
21

marketplace-rn

Concept of a mobile market application - Built with React Native and Styled Components
TypeScript
23
star
22

typeorm-relations

practicing many to many relationships with typeorm, postgres and express
TypeScript
21
star
23

graphql-academy

Repository with all the code references from my workshop called "GraphQL Academy"
TypeScript
21
star
24

deno-pokemon

a simple api to create and explore pokemons - made with oak deno framework
TypeScript
19
star
25

use-platform

๐Ÿ“ฑ react hook that returns an object with the user-agent platform flags
TypeScript
18
star
26

floripamais

Website of the Floripa+ organization - built with Next.js and integrated with Strapi CMS
TypeScript
17
star
27

gofinances-api

Rest API to manage financial transactions - Built with Express, TypeORM and Postgres
TypeScript
14
star
28

LauraBeatris

12
star
29

gobarber-mobile

Schedule appointments in a Barber Shop - built with React Native and Styled Components
TypeScript
12
star
30

observability-notebook

A single source of truth of all of my learning journey about topics regarding observability engineering and SRE
JavaScript
12
star
31

express-tutorial

express api to register patients - made to the digital innovation one webinar
JavaScript
11
star
32

lucid-airways-ticket

Generates ticket for a project subscription, with Next.js, Tailwind CSS, Upstash and Puppeteer
TypeScript
10
star
33

algorithms-and-data-structures

Study driven repository to maintain algorithms and data structures knowledge
Python
10
star
34

pokecards

cards game for terminal to have fun playing with pokemons in a simple way
Elixir
10
star
35

joy-of-elixir

elixir exercises with detailed answers
Elixir
9
star
36

perform

project management application with a adonisjs server, reactjs and react-native
JavaScript
7
star
37

dotfiles

My baked portable .dotfiles ๐Ÿฅฏ
C
7
star
38

elixir-exercism

Repo to maintain exercises solutions from the Elixir track by Exercism.io
Elixir
7
star
39

gostack-template-reactjs-crud

TypeScript
7
star
40

ts-node-fundamentals

a simple api to deal with financial transactions - made to study nodejs + typescript
TypeScript
7
star
41

tatecharts

A dashboard to track music charts of the canadian singer Tate McRae ๐ŸŽค
JavaScript
6
star
42

phoenix-blog

a simple blog made with the elixir lang and the phoenix framework
Elixir
6
star
43

javascript-expert

Study driven repository to manage advanced JavaScript topics
JavaScript
6
star
44

2budget

๐Ÿ’ฐ๐Ÿ—’ an budget app made with reactjs, styled components and firebase
JavaScript
5
star
45

react-query-workshop

Workshop about server side state management by using react-query
JavaScript
5
star
46

shin

๐Ÿ€ A collection of auth utilities for Elixir
Elixir
5
star
47

instalura-project

course conclusion project of the front end engineer path by alura - instalura is social media application based on instagram, made with reactjs and electrode for the ssr
JavaScript
5
star
48

active-businesses-locations

Explore the list of businesses locations from Los Angeles
TypeScript
5
star
49

floripamais-strapi-api

Strapi API for the Floripa+ Website
JavaScript
4
star
50

redis-learning-book

My learnings on running Redis at scale
TypeScript
4
star
51

measure-dx

Measure the DX of developer tools
TypeScript
4
star
52

projects_store

an api for the storage of projects and their tasks. applied all the main concepts of nodejs and express.
JavaScript
4
star
53

github-compare

informations about git repositories using reactjs and github api
JavaScript
4
star
54

gostack-react-native-concepts

resolution of the react native challenge from gostack bootcamp
JavaScript
3
star
55

gostack-node-concepts

resolution of the node challenge from gostack bootcamp
JavaScript
3
star
56

gostack-reactjs-concepts

resolution of the react native challenge from gostack bootcamp
TypeScript
3
star
57

odd-list-filter

Elixir algorithm exercise to filter odd numbers from a given string list and return its quantity
Elixir
3
star
58

breeze-sneakers-mobile

sneakers e-commerce app made with react-native, redux and styled-components
JavaScript
3
star
59

exceptions_java

studying exceptions in java
Java
2
star
60

graphcms-nextjs-demo

A demo of a Next.js application consuming data from GraphCMS
JavaScript
2
star
61

m2m-auth

Product shaping for M2M authentication
2
star
62

list-length-recursion

Elixir algorithm exercise to practice recursion using tail call optimization
Elixir
2
star
63

fp-ts-learning

Learning resources related to funcional programming with TypeScript
TypeScript
2
star
64

chess-system-java

Java
2
star
65

starbucks-server

a api to retrieve starbucks drinks data with my json server
2
star
66

react-native-delivery

Challenge from GoStack Bootcamp - React Native Module
TypeScript
1
star
67

elixir-diary

create and list diary notes by using a mix task
Elixir
1
star
68

typescript-learning-book

My learnings around TypeScript - From Type Transformations, Generics, Patterns, and much more
TypeScript
1
star
69

next-oauth-user-management

Integrating a Next.js app with OAuth from different User Management APIs
TypeScript
1
star
70

prepend_cli

a simple cli tool to prepend command lines arguments from stdin and write to stdout
Elixir
1
star