mirror of
https://github.com/cupcakearmy/svelte-rest-demo.git
synced 2024-12-22 16:16:25 +00:00
21 lines
350 B
Markdown
21 lines
350 B
Markdown
|
# Svelte Rest Demo
|
||
|
|
||
|
Demo todo app for Svelte consuming a REST API
|
||
|
|
||
|
![Screenshot](.github/screen.jpg)
|
||
|
|
||
|
## 🚀 Running it
|
||
|
|
||
|
```bash
|
||
|
cd ./client
|
||
|
yarn # or npm i
|
||
|
yarn run dev # or npm run dev
|
||
|
|
||
|
# In a different terminal
|
||
|
cd ./server
|
||
|
yarn
|
||
|
yarn run dev
|
||
|
```
|
||
|
|
||
|
The app will be served under http://localhost:3000, the server http://localhost:8000
|