svelte-university-session-webpack-app

Svelte University Session Webpack App

Svelte University Session

Server

Create a virtual environment and install the required python packages:

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r ./requirements.txt

Client

Install the dependencies.

cd client
yarn install

then start webpack:

yarn dev

Navigate to localhost:3000.

To build a production bundle:

yarn build

Curl

curl -X POST -d '{"description":"Buy Milk", "done":false}' -H "Content-Type: application/json" "http://localhost:8080/api/todo"
curl  -H "Content-Type: application/json" "http://localhost:8080/api/todo"
```# svelte-university-session-webpack-app

Top categories

Loading Svelte Themes