Skip to content

FACK1/My-Recipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My-Recipe

An App Allow user to see all recipes and can create his own recipe.

User journey :

As a user I want to...

See all recipes

See one recipe

Create My own recipe

Website Link:My Recipe

Architecture :

  • App Architecture

a

  • file Structure
  - public 
      |__ dom.js
      |__style.css

- src 
      |__ database
                |_db_build.js
                |_db_connection.js
                |_db_bulid.sql
      |__queries
               |_get.js
               |_set.js
                      
      |__ views
              |_layout
                  |_main.hbs
              |_partials
              |_home.hbs
              |_recipe.hbs
      |__app.js
      |__server.js
      |__test
              |_db_test.js
              |_test.js
- .gitignore

Schema database

screenshot from 2018-12-19 19-23-31

How to run our site on your machine?

  • git clone this repo (https://github.com/FACK1/My-Recipe.git)
  • Open your command line.
  • Put in terminal : npm install .
  • create database **CREATE DATABASE ; **
  • create uesrname and password CREATE USER with password ;
  • grant prinileges GRANT ALL PRIVILEGES ON DATABASE TO ;
  • make config.env file and put DATABASE_URL= postgres://user:password@localhost:5432/dbname
  • Put in terminal : node database/db_build.js.
  • Then put in terminal : npm run dev to run the server.
  • Open your browser and put in terminal: localhost:3000.

Team_Member:

  • Al Mutaz BeAllah
  • Mohammad Al Sharif
  • Razan Tayem
  • Sama' Amro

About

Allow to user to create his own recipe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6