actix-web/examples/web-cors/README.md

16 lines
224 B
Markdown

# Actix Web CORS example
## start
1 - backend server
```bash
$ cd web-cors/backend
$ cargo run
```
2 - fontend server
```bash
$ cd web-cors/fontend
$ npm install
$ npm run dev
```
then open broswer 'http://localhost:1234/'