ibigio / liars-dice-assistant

Liar's dice assistant webapp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-flask-heroku

Simple bootstrapping code to get you started with a React frontend and Flask backend ready to deploy to Heroku.

Dependencies

python3, npm, Heroku CLI

Setup

  1. pip3 install -r requirements.txt
  2. npm install

Running Locally

  1. npm run build
  2. heroku local

The application will be running at http://localhost:5000.

Deploying

First, create your app on Heroku. Then:

  1. heroku git:remote -a {YOUR_APP_NAME}
  2. heroku buildpacks:set heroku/python
  3. heroku buildpacks:add --index 1 heroku/nodejs
  4. git push heroku master

Project Structure

  • Flask server is at app.py
  • React components in src/

About

Liar's dice assistant webapp.

License:MIT License


Languages

Language:TypeScript 54.8%Language:HTML 33.5%Language:Python 7.1%Language:CSS 4.6%