Starton Banner

Starton - AI generated NFT collection

Requirements

You will need :

Installation

To install the project, first clone the repository and go inside project directory, then :

  • With yarn :

    $ yarn install
  • With NPM :

    $ npm install

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Backend

  • NODE_ENV : is a system environment variable that Node exposes into running scripts
  • API_HOST : API host
  • API_PORT : API port
  • STARTON_API_URL : Starton API address (default: https://api.starton.com/v3)
  • STARTON_API_KEY : Put on the following line your Starton API key (available at https://app.starton.com)
  • STARTON_SIGNER_WALLET : The address of your wallet
  • OPEN_AI_API_KEY : Put on the following line your OpenAI API key (available at https://platform.openai.com/account/api-keys)

Frontend

  • NODE_ENV : is a system environment variable that Node exposes into running scripts
  • NEXT_PUBLIC_BACK_URL : the address to the backend

Run Locally

Your project is now ready to be modified by you, for that you just have to launch the project via the command below.

Backend

  • With yarn :

    $ yarn dev
  • With NPM :

    $ npm run dev

The backend API run at http://localhost:8000

Frontend

  • With yarn :

    $ yarn dev
  • With NPM :

    $ npm run dev

The frontend run at http://localhost:3000

Deployment

To deploy this project run :

  • With yarn :

    $ yarn build
  • With NPM :

    $ npm build

If the build is successful, run :

  • With yarn :

    $ yarn serve
  • With NPM :

    $ npm run serve

Documentation

Find out more on how to use Starton in our Documentation

Contributing

Contributions are always welcome!

See Contributing for ways to get started.

Please adhere to Starton's Code of Conduct.

License

Apache License 2.0

Authors