Use rocket framework to develop the web application backend/services and frontend using Angular CLI, all in a totally integrated workflow and single unified console. This approach will deliver perfect development experience without CORS hassle. For more understanding, read rest-api-in-rust-step-by-step-guide.
Install rust nightly to your environment,
rustup default nightly
then install diesel for migrations,
cargo install diesel_cli — no-default-features — features postgre
change your credentials in .env file.
Then run below command for setup your DB and tables.
diesel setup
diesel migration generate users
Next you need to navigate into UI folder. Then run
cd ui
npm install
End with an example of getting some data out of the system or using it for a little demo.
Run command below in root directory to start the application.
cargo run
- Asel Siriwardena - GITHUB
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details