/offline_pandas

related to https://github.com/rubyforgood/save_the_animals_api

Primary LanguageJavaScriptMIT LicenseMIT

save-the-pandas-client

helping scientists conserve red pandas, loggerhead shrikes, elephants, and other animals!

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Development

To skip login, run this in the chrome console:

localStorage.setItem('jwt_token', 'lolol')

To un-do this, you can clear localStorage:

localStorage.clear()