{"id":28320772,"url":"https://github.com/rizul2108/mvc-lms","last_synced_at":"2026-01-28T15:07:42.161Z","repository":{"id":185398016,"uuid":"673485713","full_name":"rizul2108/mvc-lms","owner":"rizul2108","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-18T20:28:03.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T13:48:57.753Z","etag":null,"topics":["bootstrap","css","docker","ejs","go","golang","kubernetes","mvc","mvc-architecture","mysql"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/rizul2108.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,"zenodo":null}},"created_at":"2023-08-01T18:25:31.000Z","updated_at":"2023-12-04T18:20:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d22f2f7-4c29-400f-8534-8ac5478cbb6f","html_url":"https://github.com/rizul2108/mvc-lms","commit_stats":null,"previous_names":["rizul2108/mvc-lms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rizul2108/mvc-lms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizul2108%2Fmvc-lms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizul2108%2Fmvc-lms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizul2108%2Fmvc-lms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizul2108%2Fmvc-lms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizul2108","download_url":"https://codeload.github.com/rizul2108/mvc-lms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizul2108%2Fmvc-lms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"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":["bootstrap","css","docker","ejs","go","golang","kubernetes","mvc","mvc-architecture","mysql"],"created_at":"2025-05-25T11:12:32.662Z","updated_at":"2026-01-28T15:07:42.156Z","avatar_url":"https://github.com/rizul2108.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mvc-lms\n\n## Manual Setup\nClone the repo. FROM the root directory run the following commands:\n```\ngo mod vendor\ngo mod tidy\n```\n### MySQL:\nRun below commands after enterring your respective credentials\n1. Run this command : `migrate -path database/migration/ -database \"mysql://your_db_username:your_db_password@tcp(localhost:3306)/DB_NAME\" -verbose up`\n2. If this command gives error run command : `migrate -path database/migration/ -database \"mysql://your_db_username:your_db_password@tcp(localhost:3306)/DB_NAME\" force version`\n\n\n### Run the test function:\n1. run command `go test ./pkg/models` .\n2. Ensure that should be OK \n\n### Running the server:\n1. `go build -o mvc ./cmd/main.go`\n2.  Run the binary file: `./mvc`\n\n### Accessing the website\n1. Open localhost:9000 on your browser\n\n### For Virtual Hosting on Ubuntu\n\nReplace you_domain_name by the domain name you want to access the website.\n1. Install apache2 : `sudo apt install apache2`\n2. `sudo a2enmod proxy proxy_http`\n3. `sudo nano /etc/apache2/sites-available/your_domain_name.conf` \n4. Copy and paste the virtual host file.\n5. `sudo a2ensite your_domain_name.conf`\n6. `sudo a2dissite 000-default.conf`\n7. `sudo apache2ctl configtest`\n8. `sudo nano /etc/hosts`\nAdd the following line:\n```\n127.0.0.1  your_domain_name\n```\n9. `sudo systemctl restart apache2`\n10. `sudo systemctl status apache2`\nCheck your_domain_name on your browser\n\n## Setup using Makefile\nRun command `make` in root directory.\nTo host your website virtually on a custom domain name run these commands :\n```\nchmod +x ./scripts/virtualHostSetup.sh\n ./scripts/virtualHostSetup.sh\n```\n## Setup using bash script \nRun commands \n```\nchmod +x ./scripts/setup.sh\n ./scripts/setup.sh\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizul2108%2Fmvc-lms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizul2108%2Fmvc-lms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizul2108%2Fmvc-lms/lists"}