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.
- 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>
-
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
$ git clone https://github.com/hadijahkyampeire/Yummy_Reactjs_frontend
$ cd yummyrecipes-react
- If you have yarn installed
$ yarn install
- If you are using npm
$ npm install
- If you have yarn installed
$ yarn start
- If you are using npm
$ npm start
- If you have yarn installed
$ yarn test --coverage
- If you are using npm
$ npm test
- if you are using yarn
$ yarn test
$ npm test -- -coverage or
$yarn test --coverage -u