{"id":16418855,"url":"https://github.com/oleoneto/lua-server","last_synced_at":"2026-04-30T12:32:42.054Z","repository":{"id":90206305,"uuid":"167125891","full_name":"oleoneto/lua-server","owner":"oleoneto","description":"Backend server for the Lua LMS.","archived":false,"fork":false,"pushed_at":"2020-02-03T07:32:45.000Z","size":285,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-30T12:32:40.223Z","etag":null,"topics":["django","django-admin","django-rest-framework","docker","dokku","heroku","json-api","python-3-6"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oleoneto.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":"2019-01-23T05:56:56.000Z","updated_at":"2023-01-17T12:16:03.000Z","dependencies_parsed_at":"2023-05-22T23:17:19.607Z","dependency_job_id":null,"html_url":"https://github.com/oleoneto/lua-server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/oleoneto/lua-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleoneto%2Flua-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleoneto%2Flua-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleoneto%2Flua-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleoneto%2Flua-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleoneto","download_url":"https://codeload.github.com/oleoneto/lua-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleoneto%2Flua-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32465009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["django","django-admin","django-rest-framework","docker","dokku","heroku","json-api","python-3-6"],"created_at":"2024-10-11T07:15:13.069Z","updated_at":"2026-04-30T12:32:42.034Z","avatar_url":"https://github.com/oleoneto.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua-server\nBackend server for Lua LMS\n\n### Requirements\nAs listed in [requirements.txt](requirements.txt)\n\n### Secrets\nIn order to run the project, create a `secrets.py` file next to `settings.py`. \nThis file should contain the following configuration:\n\n```python\nADMINS = (\n    ('Name', 'email@example.com'),\n)\n```\n\nYou will also need to define the environment variables found in [.env](lua/.env-example). You should set those variables inside `.env`.\n\n### API\nIn order to access the API, please provide your authentication `token`. \nInclude it in the request header:\n```text\nhttp GET 'http://localhost:8000/api/v1/users' \\\n    'Authorization':'Token 8g*****************1'\n```\n\nThe API also supports JWT authentication. The endpoint is at:\n```text\n\n```\n\nThe documentation of the API is at the following path:\n```text\nhttp://localhost:8000/api/v1/documentation\n```\n\nThe project uses Swagger to display the endpoints and provide \na way of interacting with the resources.\n\n\n### Two-Factor Authentication\n2FA is required for admin site, but optional for te rest of the site.\n\nCheck 2FA status for a given user:\n```\nmanage.py two_factor_status username\n```\n\nDisable 2FA for a given user:\n```\nmanage.py two_factor_disable username\n```\n\n### Build and run application\n```text\nmanage.py makemigrations core \u0026\u0026 \\\nmanage.py migrate core \u0026\u0026 \\\nmanage.py migrate \u0026\u0026 \\\nmanage.py runserver\n```\n\n\nBuilt by **Leo Neto** with [Django CLI](https://github.com/oleoneto/django-clite)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleoneto%2Flua-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleoneto%2Flua-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleoneto%2Flua-server/lists"}