MuseumDB-React is the frontend for our web application which additionally utilizes CST2-Backend
The frontend is entirely built with ReactJS.
- Install node
Node version requirement
version >= 14.17.6
- npm install in directory
- npm start (the page will auto open)
- You're good to go!
npm install
Installs all required modules. (If the app is throwing missing errors, check this first)
npm start
This will let you run the site locally in development mode. Ideal for testing and non-production runs.
npm test
Launches the test runner in the interactive watch mode.
For more information view React's documentation for running tests
npm run build
Builds the app for production and placed into build
folder.
React will be bundled, minified, and optimized for deployment.
For more information about hosting or deployement view React's documentation for deployment
npm run eject
Note: this is a one-way operation. Once you eject
, you can't go back!
eject
will eject all the configuation files and dependencies (webpack, Babel, ESLint, etc.) into the main directory for you to edit.