# fullstack-app
    # backend\mainProject
        pip install django-import-export
        select the same interpeter where django is installed.
        create a super user to access django admin

- This is a huge boiler plate that we used to better undertand the technologies at our disposal. Currently there is a functional database in the backend with the ability to import csv files. However the server needs to be hosted. 

- The react boiler plate is there but will most likely not be used. During the first iteration we needed to test and research a lot to see what technology best assisted us with out endeavor. 

- git clone, install dependancies and setup venv, run server and npm start.





These are the scripts used by the Capstone throughout the the last iteration:

## There are 8 folders and assorted scripts.
1. climatechange- This is data provided by one of the PO's, it is sample data to play with. Mainly shows the url's of news articles and the claims made.
2. Dashboards- These are flask applications. They can all run individually by running them using python3 and the script name. 
3. fema-FEMA disaster declarations data. This is a record of the natural disasters that have occured in the US by state.
4. images-screenshots of different graphs generated by the different scripts.
5. misc_graphs- These graphs show how to make a basic bar graph, scatter, chart and plot using matplot.
6. NW_Data- Data from Newswhip, will not be included in the pull from git hub it is a LARGE amount of data. This will be handed down seperately.
7. TodoList & Refs- This is a folder with a reference for how the dashboard should look soon. The references used when creating other assosciated tools, and a wishlist of things that need to be done.

## Imports and environment. 

There are a lot of imports and the best way to manage them is to set up a virtual environment  like "venv" before importing all of them. 

## To setup th environment:
- pull from github
- make a virtualenv in the cloned repo.
- source your venv
- pip install all the imports that have a yellow underline.
- you are now ready to run any of the scripts.

## Main purpose of this folder: 
This folder is used to create the dashboard at some point this needs to be integrated 
with the other repo called fullstack. Currently that repo only has a database with no frontend. 