Welcome to Artize Frontend codebase. This repository includes the Artizen design components for Season 2 and the API controlers. You can check it by running the command under the Getting started Session below.
Artizen Community in Console.xyz
Check CONTRIBUTING.md before open an issue or PR
- NextJS 👷
- Typescript 🧑💻
- styled-components 💅🏻
- Testing Library 🤪
- react-jsonschema-forms 📝
- Wagmi 🐶
- Web3 E2E testing with Playwright 🚀
- Database with Hasura GraphQL Service
- Notifications infrastructure with Courier
- Newsletters with Mailchimp
- Web3 token Authentification with MORALIS
- System error tracking with Sentry
- RPC Provider with Alchemy
- Web2 Image hosting and transformation with Cloudinary
- User support and help pages with Intercom
- IPFS storage with Pinata
src/components
- React componentssrc/contracts
- Smart contracts ABIsrc/copy
- Copy for the appsrc/forms
- JSON schema formssrc/gql
- GraphQL queries and mutationssrc/lib
- Utility functionssrc/theme
- Theme variablessrc/types
- Typescript typessrc/utils
- Utility functionssrc/tests
- Testssrc/tests/e2e
- End 2 End Testssrc/tests/util
- Testing utilitiessrc/tools
- Templating tools to create compoenents, forms, etcsrc/pages
- NextJS pagessrc/pages/project
- NextJS page for projectssrc/pages/admin
- NextJS pages for admin users onlysrc/pages/api
- NextJS API routes
- Create a
.env
file in the root of the project, check.env.test
for the required variables
We recommend using 1Password to manage your secrets. File: .env_1password_template.txt
is a template to use with 1Password.
Metadata is mainly saved in Hasura. You can find the schema in the file databd-schema.json
. You can import it in your Hasura console.
Web3 data is saved in the stage memory of Season smart contract. Find more information in the their Season Contract Repository
- requires Node 16.14.2+
yarn dev
yarn codegen
yarn generate
- make sure sure dev server is running, then…
yarn test
yarn test:jest
The following will start a local dev server and run playwright e2e tests against it:
yarn test:e2e:local
Note: playwright e2e tests will run automatically when you perform a git push
command (via a pre-push
git hook managed by husky). This is a good way to help ensure code quality but there are situations
when you may want to bypass this check. Please use good judgement when providing the --no-verify
flag
to git push
in these situations, i.e. use the following responsibly when pushing:
git push --no-verify
- Install and setup Metamask in your browser
- Add Goerli network to your Metamask
- ChainID: 80001
- Block Explorer: https://mumbai.polygonscan.com/
- Get some Goerli ETH from faucet to your Metamask wallet
This code is published under MIT licence