1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-12 19:26:38 +00:00
actix-web/examples/web-cors
2018-03-30 23:07:33 -07:00
..
backend simplify http response construction; deprecate httpcodes 2018-03-30 23:07:33 -07:00
frontend rename cors example 2018-01-26 19:52:20 -08:00
README.md spelling check 2018-01-27 08:38:17 +03:00

Actix Web CORS example

start

1 - backend server

$ cd web-cors/backend
$ cargo run

2 - frontend server

$ cd web-cors/frontend
$ npm install
$ npm run dev

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