{"id":22963661,"url":"https://github.com/half0wl/drf-vue-boilerplate","last_synced_at":"2025-04-02T03:45:59.554Z","repository":{"id":142641882,"uuid":"88203513","full_name":"half0wl/drf-vue-boilerplate","owner":"half0wl","description":null,"archived":false,"fork":false,"pushed_at":"2017-04-14T00:58:53.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T18:49:29.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/half0wl.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":"2017-04-13T20:25:02.000Z","updated_at":"2017-04-14T00:58:20.000Z","dependencies_parsed_at":"2023-04-07T09:00:15.638Z","dependency_job_id":null,"html_url":"https://github.com/half0wl/drf-vue-boilerplate","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/half0wl%2Fdrf-vue-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/half0wl%2Fdrf-vue-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/half0wl%2Fdrf-vue-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/half0wl%2Fdrf-vue-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/half0wl","download_url":"https://codeload.github.com/half0wl/drf-vue-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246752603,"owners_count":20827987,"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-12-14T19:37:25.569Z","updated_at":"2025-04-02T03:45:59.539Z","avatar_url":"https://github.com/half0wl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drf-boilerplate\n\nMinimal boilerplate for REST API development with Django REST framework.\n\nComes with JWT authentication and an `accounts` module (only requires email and password).\n\nFrontend with django-webpack-loader, Webpack, and Vue.\n\n(Messy, work in progress)\n\n### Installation\n\n```bash\n$ virtualenv .venv \u0026\u0026 source .venv/bin/activate\n$ pip install django\n$ django-admin startproject \\\n    --template=https://github.com/half0wl/drf-vue-boilerplate/zipball/master \\\n    \u003cyour_project_name\u003e\n$ cd \u003cyour_project_name\u003e\n$ pip install -r requirements.txt\n$ npm install\n```\n\n### Usage\n\nMigrate db: `$ python manage.py makemigrations accounts \u0026\u0026 python manage.py migrate`\n\nStart Webpack: `$ npm run frontend`\n\nStart Django: `$ npm run backend`\n\n### Endpoints\n\n```\nPOST api/accounts/register\n\n    Params:\n        - email\n        - password\n    Returns:\n        - User\n\nPOST api/accounts/obtain-jwt-token\n\n    Params:\n        - email\n        - password\n    Returns:\n        - JWT token, if credentials are valid\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalf0wl%2Fdrf-vue-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalf0wl%2Fdrf-vue-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalf0wl%2Fdrf-vue-boilerplate/lists"}