1
0
mirror of https://github.com/actix/examples synced 2024-12-02 18:02:22 +01:00
examples/security/web-cors
2021-02-26 00:57:58 +00:00
..
backend Restructure folders (#411) 2021-02-26 00:57:58 +00:00
frontend Restructure folders (#411) 2021-02-26 00:57:58 +00:00
README.md Restructure folders (#411) 2021-02-26 00:57:58 +00:00

Actix Web CORS example

Run Server

cd web-cors/backend
cargo run

Run Frontend

In a separate terminal, also run:

cd web-cors/frontend
npm install
npm run serve

then open browser at: http://localhost:8080