/fantom-finance

Primary LanguageJavaScriptMIT LicenseMIT

Fantom Finance

Fantom finance is a new platform that simplifies trading, lending, and borrowing of synthetic assets. Access your wallet and start earning right away.

πŸš€ Quick start

  1. Clone repository from git.

    Use the CLI to clone website.

    # create a new folder and clone website
    git clone https://github.com/Fantom-foundation/fantom-finance.git
  2. Start server loacally.

    Navigate into your directory and start it up.

    cd website/
    npm install
    npm start
  3. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    _Note: You'll also see a second link: http://localhost:8000/___graphql.

🧐 What's inside?

A quick look at the top-level files and directories you'll see in a Gatsby project.

.
β”œβ”€β”€ node_modules
β”œβ”€β”€ src
β”œβ”€β”€ static
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ gatsby-browser.js
β”œβ”€β”€ gatsby-config.js
β”œβ”€β”€ gatsby-node.js
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
└── README.md
  1. /node_modules: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.

  2. /src: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. src is a convention for β€œsource code”.

  3. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  4. To edit content all the files avaliable in src component folder

  5. To Deploy : Configure aws https://linuxhint.com/install_aws_cli_ubuntu/ follow this link install awscli and configure

    aws configure
    AWS Access Key ID [****************ZX3Q]: XXXXXXXXXXX
    AWS Secret Access Key [****************67hz]:  XXXXXXX
    Default region name [us-east-2]: us-east-2
    Default output format [json]: json
    
  6. Deploy to server:

    npm run deploy:dev