Welcome to Cardiogram's product onsite interview! You'll be using this repository as boilerplate towards your project. You should have received instructions on your assignment.
Clone the repo and install dependencies
git clone [email protected]:Cardiogram/onsite-interview-project.git .
npm iβββ /src # ReactJS client, which contains most of our UI
β βββ /components # React components, reusable across all pages
β βββ /models # Client side model definitions
β βββ /pages # App route definitions
β βββ /styles # Global styles
β βββ /index.js # Client side entry point
βββ /server # Express server (API endpoints)
β βββ index.js # Server entry point
βββ /public # Static assets
npm run devThis will start the Webpack Dev Server that serves assets in the /src directory (it will refresh the page on changes)
You can then open http://localhost:3000 to view it in the browser.
npm run dev:serverThis will start an express server on http://localhost:5000.
npm run testRuns the test watcher in an interactive mode. By default, runs tests related to files changed since the last commit.