Skip to content

MutantDAO/moralis-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-moralis examples

This project was bootstrapped with Create React App.

Quick start

  1. Ensure you have a moralis account https://moralis.io

  2. Install dependencies via yarn install (or npm install)

  3. Copy .env.example to .env and add your keys:

    # Your appId
    REACT_APP_MORALIS_APP_ID="xxx"
    
    # Your serverUrl
    REACT_APP_MORALIS_SERVER_URL="xxx"
  4. Start the app with yarn start (or npm run start)

Deploy via github actions

  1. Ensure you have a moralis account https://moralis.io
  2. mv .github/workflows/moralis.yml.example .github/workflows/moralis.yml
  3. Update the details for:
    • REACT_APP_MORALIS_APP_ID
    • REACT_APP_MORALIS_SERVER_URL
    • moralisSubdomain
  4. Add the following secrets to your github repo in the github interface ( Settings > Secrets). You can find the information in your moralis account when you click on view details on the server you are using in your account.
    • MORALISAPIKEY
    • MORALISAPISECRET

About

Template for setting up a React project on moralis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors