/spacetraders

An experiment with flask,react, and the SpaceTraders API

Primary LanguageTypeScript

Setup

  1. Install npm dependencies with npm install
  2. Install python dependencies with poetry install
  3. Create .env file in package root with the following entries:
FLASK_APP=src/api
FLASK_ENV=dev
FLASK_DEBUG=1
  1. For dev, open two windows and run the following two commands separately in them:
    1. poetry run flask run
    2. npm run dev
  2. Browse to http://localhost:3000 to view the page.