Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 2.4 KB

README.md

File metadata and controls

60 lines (49 loc) · 2.4 KB

Food Log

Web application that helps users keep track of the food they eat, along with the associated ingredients and caloric intake.

MIT License

Code Coverage Testing Commit Activity

Django Python Git

Features

  • User Accounts
    • Sign Up
    • Login
    • Upload custom profile picture
    • Delete account
  • Food Logs
    • Create logs
      • Manual input for name, description, ingredients, calories
      • Integrate an API to automatically provide nutrition information based on food name input
    • View other users' logs
    • Comment on logs
  • Indexes
    • List all users
    • List all public logs
  • User Settings
    • Toggle log privacy
      • Private logs hidden to unauth users
    • Change password
    • Change email
  • Search Query
    • Query users by username
    • Query logs...
      • by owner's username
      • by food name

Environment Variables

To run this project, you will need to add the following environment variables to your .env file:

  1. SECRET_KEY - Django uses this for cryptographic signing. Read more about this here
  2. APP_ID - Generate this key on Edamam by:
    1. Signing up
    2. Going to Accounts, then Applications
    3. Click Create a new application
    4. Select Nutrition Analysis API
    5. Enter a name and description and click Create Application
    6. Copy the value under Application ID and assign it to APP_ID
  3. APP_KEY - On the same page as before, copy the value under Application Keys

Demo

https://awuswe.pythonanywhere.com/