/RecipeBox

Primary LanguageTypeScript

Recipe Box

The Recipe Box project is written in Angular and allows the user to add new recipes to their recipe box and adjust the name, ingredients, and instructions.

To Use

To add a new recipe, click the '+' button above the list of recipes on the left. Enter info in the fields and hit 'Submit'. To edit or delete an existing recipe, click on its name in the recipe list on the left side and either change the values in the fields to edit or press the 'Delete' button under the recipe information fields.

Contributing

This project is still in active development. Development is based on the development branch. To contribute, follow these steps:

  • git clone https://github.com/matty22/RecipeBox.git
  • git checkout development
  • git checkout -b issue-label/reference-to-issue (ex. bug/fix-grammar-error)

Make your changes in your local copy...

  • git add [filename].ext
  • git commit -m "Concise message that explains your changes"
  • git checkout development
  • git pull
  • git checkout fix/my-branch
  • git merge development
  • git push origin fix/my-branch

Then, open a PR on the development branch on the repo.

For questions, read these three blog posts for guidelines on how to contribute:

Angular CLI commands

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.