-I created the migrations and the seed files so that knex.js can populate the postgres DB and seed with basic filler test data. Tested on my local machine's postgres. Will need to run migrations and seeds once PR is approved and hosted on heroku.
-Modified the servers package.json to include cors, body-parser, and dotenv
-Modified the react-ui package.json to include redux, react-redux, redux-thunk (These were all changes made earlier in the day by another team member, although the dependencies weren't added to the package.json so the app wouldn't start.)
-Added heroku config vars to work with the database.
-Added and modified server with dotenv package to allow smart switching from local dev and production databases.
-Reorganized the servers file structure
-Added christy's user and admin endpoints to the servers api
Fixes # (issue)
Type of change
Please delete options that are not relevant.
[+] Bug fix (non-breaking change which fixes an issue)
[+] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
[+] Test A - Tested on local postgres server. I modified my .env file to include my local development postgres server. I ran the migrations and seeds and verified that the tables and data appeared in my database. I also tested the api within the browser.
Checklist:
[+] My code follows the style guidelines of this project
[+] I have performed a self-review of my own code
[+] My code has been reviewed by at least one peer
[+] I have commented my code, particularly in hard-to-understand areas
[+] I have made corresponding changes to the documentation
[+] My changes generate no new warnings
[+] I have added tests that prove my fix is effective or that my feature works
[+] New and existing unit tests pass locally with my changes
Description
-I created the migrations and the seed files so that knex.js can populate the postgres DB and seed with basic filler test data. Tested on my local machine's postgres. Will need to run migrations and seeds once PR is approved and hosted on heroku.
-Modified the servers package.json to include cors, body-parser, and dotenv
-Modified the react-ui package.json to include redux, react-redux, redux-thunk (These were all changes made earlier in the day by another team member, although the dependencies weren't added to the package.json so the app wouldn't start.)
-Added heroku config vars to work with the database.
-Added and modified server with dotenv package to allow smart switching from local dev and production databases.
-Reorganized the servers file structure
-Added christy's user and admin endpoints to the servers api
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: