nemesiscodex / actix-todo

Todo list API made in rust + actix-web + tokio-postgres
https://www.youtube.com/watch?v=gQwA0g0NNSI&list=PLECOtlti4PspZHOySyzf9RApJFguZPFoF
141 stars 20 forks source link

create database from framework #3

Closed maherkhalil07 closed 4 years ago

maherkhalil07 commented 4 years ago

Can we connect and create the database from framework not using terminal?

nemesiscodex commented 4 years ago

yes, it can be done with http://diesel.rs. You can create and run migrations using the cli http://diesel.rs/guides/configuring-diesel-cli/

maherkhalil07 commented 4 years ago

Appreciate your help Thanks

nemesiscodex commented 4 years ago

@maherkhalil07 I added diesel to the repo and updated the readme, so I will close this. (A video about that will come soon)