Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.73 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.73 KB

hackrecipe

  • Built using AngularJS as front-end
  • MySQL as DB.
  • Karma (Test Runner) + Jasmine (Testing Framework) for testing
  • GruntJs (Task Runner) for task automation

this website is a recipe website that lets you search, add, delete, recipes

How to run:

  • Run on a local server or an online server.
  • Just enter url localhost/hackrecipe/ and the use the application

How to run project

How to run the unit test

  • Make sure you have nodejs and firefox installed on your computer (preferable the 32 bits version you run into less PATH issue with that one)
  • Open your windows command prompt and navigate to the project folder. ls/dir should be showing you:
    • app/ test/ ....
  • run: npm install
    • NoteThe previous command installs all the dependencies from package.json to your local project.
  • run: grunt karma:unit
  • You end up with something like this: ALT

Note: locate the connect.php file in app/phpscripts/ folder to update the schema name and password and username for the database.