1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/web-cors/README.md

17 lines
232 B
Markdown
Raw Normal View History

# Actix Web CORS example
2020-10-20 00:36:53 +02:00
## Run Server
```sh
cd web-cors/backend
cargo run
```
2020-10-20 00:36:53 +02:00
## Run Frontend
In a separate terminal, also run:
```sh
cd web-cors/frontend
npm install
npm run serve
```
2020-10-20 00:36:53 +02:00
then open browser at: http://localhost:8080