Skip to content

eonian-core/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eonian WEB App

This is a repository for the Eonian landing site and savings account application.

Requirements

  • NodeJS v18 or higher

Development

First Start Guide

Run development server

npm run dev

It will start

Storybook

For the development of components and independent screens, there used Storybook. To start it locally, use the following command:

npm run storybook

The Storybook will be available at http://localhost:6006 (or another port if it is busy).

GraphQl API

For querying data from the blockchain and other services, there used GraphQL API. The Graph page is available at Graph Explorer.

Mocking Server

The mocking server allows mocking this API for development purposes. To start it locally, use the following command:

yarn mock

Generate Introspection Types

To generate types for the GraphQL API, use the following command:

yarn gen:gql-types

CDN

Troubleshooting

Missing fonts

If you have problems with fonts in local development, i.e.: FetchError: request to *.woff2 failed, try to install recent LTS node version and run development server with TLS checks disabled:

  • Run nvm install --lts
  • Run nvm use --lts
  • Delete .next folder
  • Start development server with npm run dev:no-tls

Related github issue: vercel/next.js#45080

About

Landing page & dApp of Eonian protocol

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •