to run the project clone this repo then run the below command from root of the project
DATABASE_URL="postgresql://user:password@host:port/database" cargo run
NOTE: for the database i have used cockroachDB, you can also use any postgres DB, but for other database you have to make some changes