An open API service indexing awesome lists of open source software.

https://github.com/fernando24164/flask-snowpack


https://github.com/fernando24164/flask-snowpack

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Flask Dashboard

Small demo to test Flask with React frontend and Snowpack to create bundle

## How to run on localhost

First install dependencies:

```sh
npm install
```

To run in dev mode mode:

```sh
npm start
```

Then go to http://localhost:8080

To create a production build:

```sh
npm run build
```

## Testing

To run unit front tests:

```sh
npm test
```

To run backend test:

```sh
pytest
```

## Run in local

In the folder there is a shell script to run a local server

```sh
npm run build

./run.sh
```

Then open a browser on http://127.0.0.1:5000/