Skip to content

Latest commit

 

History

History
executable file
·
77 lines (62 loc) · 2.29 KB

README.md

File metadata and controls

executable file
·
77 lines (62 loc) · 2.29 KB

npm version Build Status Coverage Status Codacy Badge

yummy-recipes-react

This is the yummy recipes react frontend implementation. It consumes the newyummy-api. Yummy recipes app is an application that allows users to create, save, delete and update recipes thus keeping track of awesome food recipes.

Installation and Running

Docker Way

  • Ensure you have docker installed on your machine.
  • Clone and cd to the directory of the docker file.
Run docker built -t <image name> <path to Dockerfile>

Requirements

  • You first need to have the newyummy-api installed. See installation details here and API documentation and Live production follow this API Link

  • NodeJs

  • A package manager e.g. yarn or npm

Clone the repository

$ git clone https://github.com/hadijahkyampeire/Yummy_Reactjs_frontend
$ cd yummyrecipes-react

Installing dependancies

  • If you have yarn installed
$ yarn install
  • If you are using npm
$ npm install

Running the application

  • If you have yarn installed
$ yarn start
  • If you are using npm
$ npm start

Running the tests

  • If you have yarn installed
$ yarn test --coverage 
  • If you are using npm
$ npm test
  • if you are using yarn
$ yarn test

For test coverage

$ npm test -- -coverage or
$yarn test --coverage -u

Test Live App