A full-stack application that is meant to mirror popular modal image views.
Project description
- https://github.com/fec4-gandolf/bid-buy
- https://github.com/fec4-gandolf/Napoleon-Service
- https://github.com/fec4-gandolf/PeopleAlsoViewed
- To set up environmental variables create file within root directory '.env' Contents of file for a local setup should go as follows
DB_host=localhost
DB_database=fecimage
DB_user=`user`
DB_password=`password`
- To initialize database schema, from root directory run
mysql -u `userName` -p < schema.sql
-
To set up database seeding range, modify values for
max
andmin
located in server/seeder.js to reflect which database autoincremented ID to start and finish at. -
To intitalize seeding, from root directory run
node server/seederinit.js
- to compile files using webpack run
npm run react-dev
- to run server run
npm run start:dev
An nvmrc
file is included if using nvm.
- Node 6.13.0
- etc
From within the root directory:
npm install