open-ai-image-generator

Setup

  1. Make a copy of the example environment variables file
$ cp .env.example .env
  1. Add your API key to the newly created .env file

Run it locally

yarn
yarn dev

You should now be able to access the app at http://localhost:3000

Run Tests

Run unit tests

$ yarn test:ci

Run e2e tests

$ yarn cypress:run