{"id":21714311,"url":"https://github.com/shadesandgrays/loginpage","last_synced_at":"2026-05-07T13:15:42.776Z","repository":{"id":228880252,"uuid":"775149239","full_name":"ShadesAndGrays/LoginPage","owner":"ShadesAndGrays","description":"A bare simple login page","archived":false,"fork":false,"pushed_at":"2024-03-21T00:38:14.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T13:56:52.140Z","etag":null,"topics":["diesel-rs","good-first-issue","goodfirstissue","login-page","rocket-rs"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShadesAndGrays.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":"2024-03-20T21:09:53.000Z","updated_at":"2024-03-20T22:14:43.000Z","dependencies_parsed_at":"2024-03-20T23:29:58.241Z","dependency_job_id":"9abcee8f-c93c-47db-b076-b1484ea5c813","html_url":"https://github.com/ShadesAndGrays/LoginPage","commit_stats":null,"previous_names":["shadesandgrays/loginpage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ShadesAndGrays/LoginPage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadesAndGrays%2FLoginPage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadesAndGrays%2FLoginPage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadesAndGrays%2FLoginPage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadesAndGrays%2FLoginPage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShadesAndGrays","download_url":"https://codeload.github.com/ShadesAndGrays/LoginPage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadesAndGrays%2FLoginPage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32739188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["diesel-rs","good-first-issue","goodfirstissue","login-page","rocket-rs"],"created_at":"2024-11-26T00:34:12.844Z","updated_at":"2026-05-07T13:15:42.740Z","avatar_url":"https://github.com/ShadesAndGrays.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Login Page\nWelcome to my login page :)  \nIt was made using html, css and js for the front end and Rust using Rocket for the backend. The Database was mysql and the ORM was diesel and simple migrations managed by diesel cli.\n\n\n\u003cimg src=\"./image/screenshot.png\"\u003e\n\n\n#  Usage\n  \n \n### Frontend\n\nsimply open the index.html file in the browser\n\n\n### Backend\n\nOpen a new terminal and run the command \n``` cargo run ```  \n\nThis will start the server by default at port 8000\n\n### Database\n\nDiesel was used to run the database migrations. ```Diesel setup``` to set up the entire database\n\nAlternatively, To setup the database manually.Open the msyql shell and and run the following\n```mysql\nCREATE DATABASE testLoginDB;\n```\n```mysql\nUSE testLoginDB;\n```\n\n```mysql\nCREATE TABLE user (\n    name VARCHAR(45) not null,\n    password VARCHAR(45) not null,\n    PRIMARY KEY(name)\n); \n\n```\nThis creates a new database called **testLoginDB**. After creates a table called **user** with columns *username* and *password*\n\n\n\n## Dependences\n\n#### Rust Crates\n- diesel 2.1.5\n- dotenv 0.15.0\n- rocket 0.5.0\n- rocket_cors 0.6.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadesandgrays%2Floginpage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadesandgrays%2Floginpage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadesandgrays%2Floginpage/lists"}