mirror of
https://github.com/actix/examples
synced 2024-12-04 18:51:55 +01:00
17 lines
232 B
Markdown
17 lines
232 B
Markdown
# Actix Web CORS example
|
|
|
|
## Run Server
|
|
```sh
|
|
cd web-cors/backend
|
|
cargo run
|
|
```
|
|
|
|
## Run Frontend
|
|
In a separate terminal, also run:
|
|
```sh
|
|
cd web-cors/frontend
|
|
npm install
|
|
npm run serve
|
|
```
|
|
then open browser at: http://localhost:8080
|