Mod 5 project using rails api, react, redux
See /structure
for schematics and wireframes
To run:
- clone this repository as well as austuff-frontend seperately
cd
intoaustuff-backend
and runbundle install
- run
rails db:setup
- run
rails s
in the austuff-frontend repository:
- run
npm i
- run
npm start
- when prompted to choose if you would like to start the server on port 3001 instead, select Yes (austuff-backend must be running at this point)
- navigate to
http://localhost:3001/shop
Sign in with username test
and password 1234
.
You must be logged in to view the products.
If they don't appear, try refreshing the page and clicking on the logo.