IMeal is an APP that allows customers to make food orders and helps food vendors know what the customers' orders and manage them. This project was done during the Moringa School Bootcamp MC31.
- HTML
- CSS
- Scripts
- Python/Flask
- Virtualenv
- Github
- Heroku
Customers can;
- Sign up
- Login
- View a daily menu of meal options
- Place an order by selecting meal options
Administrators/Caterers can;
- Login
- Create, retrieve, update and delete meal options
- Setup daily menu
- View customer orders
Run the following commands to have your project setup
Clone the repository
git clone
Change to project directory
cd iMeal-Api
Create and launch the virtual environment
virtualenv venv
Run 'source virtual/bin/activate' on Linux or macOS
Run 'virtual\Scripts\activate' on Windows
Install dependencies
pip install -r requirements.txt
Navigate to the tests
directory
cd tests
Run the tests
pytest
Create a 'start.sh' file and paste the following where appropriate:
export SECRET_KEY='<secret_key>'
export MAIL_USERNAME='<username>'
export MAIL_PASSWORD='<password>'
python3.8 manage.py server
chmod a+x start.sh
./start.sh
For any queries contact us on Github at: @Abdihakim @AbugaAroni @J-Okoto @kahenya-anita @Thanos-11
License MIT License
Copyright (c) [2020] [Rootkit]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2020 Rootkit