{"id":19864372,"url":"https://github.com/cybercookie/web-app-template","last_synced_at":"2025-02-28T23:21:33.943Z","repository":{"id":118937350,"uuid":"466837589","full_name":"CyberCookie/Web-app-template","owner":"CyberCookie","description":"Web app template","archived":false,"fork":false,"pushed_at":"2022-03-06T21:38:50.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T15:35:06.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyberCookie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-03-06T19:38:52.000Z","updated_at":"2022-03-08T15:35:25.000Z","dependencies_parsed_at":"2023-12-26T06:15:15.997Z","dependency_job_id":null,"html_url":"https://github.com/CyberCookie/Web-app-template","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/CyberCookie%2FWeb-app-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberCookie%2FWeb-app-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberCookie%2FWeb-app-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberCookie%2FWeb-app-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyberCookie","download_url":"https://codeload.github.com/CyberCookie/Web-app-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241273320,"owners_count":19937096,"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":[],"created_at":"2024-11-12T15:18:27.319Z","updated_at":"2025-02-28T23:21:33.938Z","avatar_url":"https://github.com/CyberCookie.png","language":"Rust","readme":"# Simple REST web server\n### Based on the final project from the Rust docs.\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n\nSo far includes:\n- JSON\n- Web sockets\n- Postgres\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n\n### DB\n\nInstall postgres on your OS.\u003cbr /\u003e\nInstall PgAdmin for better expirience.\u003cbr /\u003e\nUse `test_user_pg` user to connect to PG.\u003cbr /\u003e\nCreate `test_db` database.\u003cbr /\u003e\nCreate `person` table with the only `string` column `name`.\u003cbr /\u003e\nAll the above params, like user or database are configurable in `src/bin/main`.\u003cbr /\u003e\nStart a postgresql server.\u003cbr /\u003e\u003cbr /\u003e\u003cbr /\u003e\n\n\n### Server\nInstall Rust on your system.\u003cbr /\u003e\nTo start the server - from the root dir run `cargo run`.\u003cbr /\u003e\u003cbr /\u003e\u003cbr /\u003e\n\n### Client\n\nInstall `siegel` package globally: `npm i -g siegel`.\u003cbr /\u003e\nTo start a demo client - from the root dir run `siegel run -g --client client.js`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybercookie%2Fweb-app-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybercookie%2Fweb-app-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybercookie%2Fweb-app-template/lists"}