{"id":13478281,"url":"https://github.com/svenstaro/rust-web-boilerplate","last_synced_at":"2025-04-06T09:09:19.064Z","repository":{"id":14609060,"uuid":"76778665","full_name":"svenstaro/rust-web-boilerplate","owner":"svenstaro","description":"Rust web template for modern web backend applications","archived":false,"fork":false,"pushed_at":"2023-02-02T04:03:20.000Z","size":152,"stargazers_count":317,"open_issues_count":16,"forks_count":52,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-30T08:08:26.021Z","etag":null,"topics":["best-practices","boilerplate","diesel","rocket","web"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svenstaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-18T11:23:01.000Z","updated_at":"2025-03-23T14:20:58.000Z","dependencies_parsed_at":"2023-02-17T13:55:21.794Z","dependency_job_id":null,"html_url":"https://github.com/svenstaro/rust-web-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Frust-web-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Frust-web-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Frust-web-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Frust-web-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svenstaro","download_url":"https://codeload.github.com/svenstaro/rust-web-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457803,"owners_count":20941906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["best-practices","boilerplate","diesel","rocket","web"],"created_at":"2024-07-31T16:01:54.966Z","updated_at":"2025-04-06T09:09:19.043Z","avatar_url":"https://github.com/svenstaro.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Rust Web Boilerplate\n\n[![Build Status](https://travis-ci.org/svenstaro/rust-web-boilerplate.svg?branch=master)](https://travis-ci.org/svenstaro/rust-web-boilerplate)\n[![codecov](https://codecov.io/gh/svenstaro/rust-web-boilerplate/branch/master/graph/badge.svg)](https://codecov.io/gh/svenstaro/rust-web-boilerplate)\n[![lines of code](https://tokei.rs/b1/github/svenstaro/rust-web-boilerplate)](https://github.com/svenstaro/rust-web-boilerplate)\n[![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/svenstaro/rust-web-boilerplate/blob/master/LICENSE)\n\n\n## About\nThis is a boilerplate project made using best practices for getting started quickly\nin a new project. I made this for myself but maybe it will help someone else. Pull\nrequests and discussions on best practices welcome!\n\n## Development setup\n\nInstall a few external dependencies and make sure `~/.cargo/bin` is in your `$PATH`:\n\n    cargo install diesel_cli\n    cargo install cargo-watch\n\nOptionally if you want line coverage from your tests, install cargo-tarpaulin:\n\n    cargo-tarpaulin\n\nCopy `.env.example` to `.env` and update your application environment in this file.\n\nMake sure you have a working local postgres setup. Your current user should be\nadmin in your development postgres installation and it should use the \"peer\" or\n\"trust\" auth methods (see `pg_hba.conf`).\n\nNow you can launch the `watch.sh` script which helps you quickly iterate. It\nwill remove and recreate the DB and run the migrations and then the tests on\nall code changes.\n\n    ./watch.sh\n\nTo get line coverage, do\n\n    cargo tarpaulin --ignore-tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenstaro%2Frust-web-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvenstaro%2Frust-web-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenstaro%2Frust-web-boilerplate/lists"}