Quick 3 Galaxy
Code Chrysalis Student
This was created during my time as aQuick 3 Galaxy is the visualization using Quick 3 Sort with some entertainments.
Environment
Installing dependencies
- node
- yarn
Development
To install dependencies:
$ yarn
To run tests:
$ yarn test
If you take a look at the package.json
, you'll notice that our command includes BOTH the linting as well as running mocha.
You can run them separately as well, but that's why we have the above command.
$ yarn lint
$ yarn test:mocha
We have a simple Express server (you can find the code in app.js
) that is serving up our very basic index.html
file. We are using webpack to compile all the code in our src/
folder into one big file.
Go look inside index.html
to find out what that one .js
we have compiled all our code into is.
To start building a frontend codes:
$ yarn dev:client
To start a express web server:
$ yarn dev:server
Access http://localhost:4000
in the browser.
Production
To run in production:
$ yarn webpack
$ yarn start
If you want to deploy through Heroku will be as below:
- Create an app.
- Connect a GitHub repository.
- Deploy.