actix-web/examples/actix_web_cors/README.md

228 B

Actix-web-CORS

start

1 - backend server

$ cd actix_web_cors/backend
$ cargo run

2 - fontend server

$ cd actix_web_cors/fontend
$ npm install
$ npm run dev

then open broswer 'http://localhost:1234/'