This is a repository for the Eonian landing site and savings account application.
- NodeJS v18 or higher
Run development server
npm run devIt will start
- NextJS application at http://localhost:3000 and the open page automatically
For the development of components and independent screens, there used Storybook. To start it locally, use the following command:
npm run storybookThe Storybook will be available at http://localhost:6006 (or another port if it is busy).
For querying data from the blockchain and other services, there used GraphQL API. The Graph page is available at Graph Explorer.
The mocking server allows mocking this API for development purposes. To start it locally, use the following command:
yarn mockTo generate types for the GraphQL API, use the following command:
yarn gen:gql-types- https://vercel.com/eonian/farm-app - Web app project in Vercel
- https://vercel.com/eonian/storybook - Storybook project in Vercel
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
.nextfolder - Start development server with
npm run dev:no-tls
Related github issue: vercel/next.js#45080