# Snackability

Project Structure

- Snackability-Backend                          Contains the backend API portion of the project
    - bin                                       Contains babel configurations
    - datacleaned                               Contains a CSV file with many snacks
    - dist                                      Contains the distribution version of the project generated by babel
    - server                                    Contains the JS files that describe our backend
        - config                                Contains the configuration for the sql database and USDA API
        - controllers                           Contains the API controllers
        - db                                    Contains sql files with queries for the database
        - helpers                               Contains helper functions 
        - routes                                Contains the api definition and routes JS files

- Snackability-Frontend                         Contains the frontend react native applicatoin portion of the project
    - src                                       Contains the source for the react native application
        - actions                               Contains JS files for different actions the user can take
        - components                            Contains all the components
            - common                            Contains common compoenents used throught the project
            - pages                             Contains the pages of the application
        - fonts                                 Contains fonts used in the application
        - images                                Contains images used in the application
        - reducers                              Contains react native redux reducers

- UPCvalueFiller
	-config.ini				File where you place database credentails
	-python_mysql_dbconfig			Program that creates an object of the credentials given by config.ini
	-upc_fill.py				Contains source that handles connecting to the DB, making API calls, and updating the DB with upc values


See README's in the backend and frontend folders for installation instructions