Web application for generating quotes
- under /server dir
- mvc architecture
- mongoose for mongodb validation, casting and business logic
- under /client/app dir
- components design:
- /containers - holds the parent components (render, navigation, routing between pages)
- /details - holds business logic, e.g for Game component (game components, load question, keep score)
- services - place for fetching data, shuffle arrays, etc.
Generating random quotes on load and getting random quote on button click:
The collections currently live in mongo database so not possible at the moment for this repo unless you set one yourself and read the uri from env file as here.
- npm install
- cd server & npm start (starts backend)
- cd client/app & npm start (starts frontend)
Node, Express, React, MongoDB