This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/dashboard-v2
Karol Wypchło 38377b4e66
Merge pull request #1918 from SkynetLabs/dashboard-v2-api-keys-mutations
Dashboard v2 api keys mutations
2022-03-29 09:35:15 +02:00
..
.storybook chore(dashboard-v2): add storybook-addon-gatsby 2022-02-26 13:47:58 +01:00
src Merge pull request #1918 from SkynetLabs/dashboard-v2-api-keys-mutations 2022-03-29 09:35:15 +02:00
static/images fix(dashboard-v2): update side image on /api-keys 2022-03-25 11:06:21 +01:00
.eslintignore ops(dashboard-v2): setup Storybook 2022-02-18 09:18:41 +01:00
.eslintrc.js style(dashboard-v2): prettify 2022-02-18 09:20:47 +01:00
.gitignore ops(dashboard-v2): setup Storybook 2022-02-18 09:18:41 +01:00
.prettierignore ops(dashboard-v2): setup Storybook 2022-02-18 09:18:41 +01:00
.prettierrc.json style(dashboard-v2): update prettier config 2022-02-18 09:17:28 +01:00
README.md fix(dashboard-v2): address review comments 2022-03-24 15:47:35 +01:00
gatsby-browser.js feat(dashboard-v2): add Modal component 2022-03-25 11:03:15 +01:00
gatsby-config.js feat(dashboard-v2): add dedicated form for public api keys 2022-03-25 17:47:44 +01:00
gatsby-ssr.js feat(dashboard-v2): add Modal component 2022-03-25 11:03:15 +01:00
package.json fix(dashboard-v2): address review comments 2022-03-24 15:47:35 +01:00
postcss.config.js style(dashboard-v2): prettify 2022-02-18 09:20:47 +01:00
tailwind.config.js feat(dashboard-v2): implement data mutations for API keys 2022-03-25 11:06:21 +01:00
yarn.lock build(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/dashboard-v2 2022-03-25 10:20:46 +00:00

README.md

Skynet Account Dashboard

Code behind account.skynetpro.net

Development

This is a Gatsby application. To run it locally, all you need is:

  • yarn install
  • yarn start

Accessing remote APIs

To be able to log in on a local environment with your production credentials, you'll need to make the browser believe you're actually on the same domain, otherwise the browser will block the session cookie.

To do the trick, edit your /etc/hosts file and add a record like this:

127.0.0.1 local.skynetpro.net

then run yarn develop:secure -- it will run gatsby develop with --https --host=local.skynetpro.net -p=443 options. If you're on macOS, you may need to sudo the command to successfully bind to port 443.

NOTE: This should become easier once we have a docker image for the new dashboard.