mirror of
https://github.com/actix/examples
synced 2024-11-24 14:53:00 +01:00
16 lines
227 B
Markdown
16 lines
227 B
Markdown
# Actix Web CORS example
|
|
|
|
## start
|
|
1 - backend server
|
|
```bash
|
|
$ cd web-cors/backend
|
|
$ cargo run
|
|
```
|
|
2 - frontend server
|
|
```bash
|
|
$ cd web-cors/frontend
|
|
$ npm install
|
|
$ npm run serve
|
|
```
|
|
then open browser 'http://localhost:8080'
|