{"id":25931114,"url":"https://github.com/zhukmax/rust-web-kit","last_synced_at":"2025-03-03T23:57:38.023Z","repository":{"id":279008586,"uuid":"937392341","full_name":"ZhukMax/rust-web-kit","owner":"ZhukMax","description":"Basic setup for developing a web application, API or website in the 🦀 Rust language and the Actix-web framework.","archived":false,"fork":false,"pushed_at":"2025-03-02T06:08:52.000Z","size":17,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T07:19:24.573Z","etag":null,"topics":["actix-web","rust","rust-lang","seaorm","webapp"],"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/ZhukMax.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-22T23:47:07.000Z","updated_at":"2025-03-01T22:17:10.000Z","dependencies_parsed_at":"2025-02-23T06:38:33.971Z","dependency_job_id":null,"html_url":"https://github.com/ZhukMax/rust-web-kit","commit_stats":null,"previous_names":["zhukmax/rust-web-kit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhukMax%2Frust-web-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhukMax%2Frust-web-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhukMax%2Frust-web-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhukMax%2Frust-web-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZhukMax","download_url":"https://codeload.github.com/ZhukMax/rust-web-kit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241758969,"owners_count":20015247,"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":["actix-web","rust","rust-lang","seaorm","webapp"],"created_at":"2025-03-03T23:57:37.411Z","updated_at":"2025-03-03T23:57:38.010Z","avatar_url":"https://github.com/ZhukMax.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Web Kit\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)\n![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)\n![GitHub Clones](https://img.shields.io/badge/dynamic/json?color=green\u0026label=Clones\u0026query=$.clones\u0026url=https://raw.githubusercontent.com/ZhukMax/rust-web-kit/counter/.github/.clone_count)\n\nBasic setup for developing a web application, API or website in the 🦀 Rust language and the Actix-web framework.\n\n## Features\n- Built with **Actix-web** for high-performance HTTP handling.\n- **SeaORM** for seamless database integration.\n- **Handlebars** template engine for safe and efficient HTML rendering.\n- `.env` support for environment-specific configuration.\n- **Docker** for containerization application.\n\n## Getting Started\n\n### Prerequisites\nTo work with SeaMS, ensure you have the following installed:\n- [Rust](https://www.rust-lang.org/tools/install) (latest stable version recommended)\n- Docker (to quickly set up PostgreSQL and/or use Docker image)\n\n### Set Up PostgreSQL\nYou can run the following command to start a PostgreSQL instance using Docker:\n\n```bash\ndocker run --name sea_ms_db -e POSTGRES_PASSWORD=secret_password -d postgres\n```\n\n### Clone the Repository\nClone the project repository from GitHub:\n\n```bash\ngit clone https://github.com/ZhukMax/rust-web-kit.git my-new-project\n```\n\n### Setup Environment Variables\nFor **production** is better use GitHub Actions, GitLab CI or another Secrets sending method in Container.\nFor **local development** you can create a `.env` file in the root directory with the following variables:\n\n```env\nHOST=0.0.0.0\nPORT=8080\n\nDATABASE_USER=dbuser\nDATABASE_PASSWORD=secret_password\nDATABASE_HOST=localhost\nDATABASE_PORT=5432\nDATABASE_NAME=my_db\n\nDEV_MODE=fasle\n```\n\nReplace `secret_password` with the password you set for your Docker PostgreSQL instance.\n\n### Install Dependencies\nRun the following command to install the required dependencies:\n\n```bash\nmake build\n```\n\n## License\nSeaMS is open-source software licensed under the [MIT License](https://opensource.org/licenses/MIT).\n\n## Contribute\n**Working on your first Pull Request?**\nYou can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://kcd.im/pull-request)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhukmax%2Frust-web-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhukmax%2Frust-web-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhukmax%2Frust-web-kit/lists"}