Create a web application that allows users to store and easily access cooking recipes.
- Python
- HTML
- Materialize CSS - Grid System, Cards, Buttons, Fonts + Icons
- Javascript - jQuery
- Flask Framework
- Pymongo
- MongoDB
- Simple Login feature
- Users have the ability to view existing recipes by official authors
- Users can save those recipes to their own collection
- Users have the ability to create their own recipes, read those recipes, update those recipes and delete those recipes
Manual testing was undertaken for this application and satisfactorily passed. Tests were conducted as follows:
- Unit testing - Tested small chunks of the code as I progressed to ensure the code is functioning
- Integration testing - Tested combinations of units to ensure new code doesn't interfere with existing code
- Acceptance testing โ Tested the application in sevreal different browsers and devices to analyze the performance of the entire application.
- Code which was credited, was tested as the example given, then modified for desired outcome
Built primarily off the mini project example as basic framework. Website layout was implemented with Flask and custom styled with Materialize. I liked the idea of having official recipes that the user cannot edite but rather can save them as they are. The user still has the ability however to create, read, update and delete their own created recipes.
- Download the project files to your computer
- Connect to the database: user: password:
- export MONGO_URI=mongodb://coderguider:[email protected]:27115/recipe_database
- python3 new_mongo.py
You can see the application here.
Conor Guider - This project was completed as part of Code Institute's Full Stack Web Development course.
- Official recipes were taken from BBC Food website as well as bg img
- Styling was from materialize and Material Design for icons
- Resources - Codedrops, Stackoverflow, Materialize