Skip to content
Rust single page webapp written in actix-web with vuejs.
Branch: master
Clone or download
Latest commit d42a6c3 Mar 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
migrations get actice_list in home page right Apr 1, 2018
src Update router.rs Mar 8, 2019
tests front webapp Jan 27, 2018
webapp Delete package-lock.json Jan 6, 2019
.env front webapp Jan 27, 2018
.gitignore front webapp Jan 27, 2018
.travis.yml all update: actix-web 0.7 and vuejs use cli-3.0 Aug 22, 2018
001.png
Cargo.toml
LICENSE
README.md Update README.md Oct 9, 2018
diesel.toml
docker-compose.yml

README.md

Rust-webapp-starter Build Status

The Extend project ruster

Rust single page webapp written in actix-web with vuejs.

  • Async stable Actix-web framework
  • diesel, postgresql r2d2
  • SPA CORS JWT
  • Vuejs

How To

first create a name 'webapp' postgresql database for this project.

with docker

docker-compose up -d

when development

$ git clone https://github.com/OUISRC/Rust-webapp-starter.git
$ cd Rust-webapp-starter
$ cargo install diesel_cli --no-default-features --features postgres
$ diesel setup
$ cargo run

// another shell  nodejs(v10.7 on my machine)

$ cd Rust-webapp-starter/webapp
$ npm install
$ npm run serve

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

when production

$ git clone https://github.com/OUISRC/Rust-webapp-starter.git
$ cd Rust-webapp-starter
$ cargo install diesel_cli --no-default-features --features postgres
$ diesel setup
$ cd webapp
$ npm install
$ npm run build
$ cd ..
$ cargo run

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

worked

  • signup (done)
  • signin (done)
  • browse pages data : get/post (done)
  • publish article (done)
  • user center : jwt (done)
  • do CRUD (done)

Home

Contribute

welcome to contribute !

License

LICENSE-APACHE.

You can’t perform that action at this time.