Skip to content

Cardiogram/onsite-interview-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

115 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Build Status Greenkeeper badge

Cardiogram Product Onsite Interview

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.

Setup

Clone the repo and install dependencies

git clone [email protected]:Cardiogram/onsite-interview-project.git .
npm i

Directory Layout

β”œβ”€β”€ /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

Development

Running the client

npm run dev

This 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.

Running the API server

npm run dev:server

This will start an express server on http://localhost:5000.

Testing

npm run test

Runs the test watcher in an interactive mode. By default, runs tests related to files changed since the last commit.

About

πŸ‘‹The Cardiogram onsite interview project

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors