{"id":23685042,"url":"https://github.com/simplecyber/django-starter-kit","last_synced_at":"2026-01-07T14:30:19.162Z","repository":{"id":269797394,"uuid":"908445255","full_name":"SimpleCyber/django-starter-kit","owner":"SimpleCyber","description":"Starter Kit : A beginner-friendly Django starter project with a pre-configured index page, login system, and basic user authentication.","archived":false,"fork":false,"pushed_at":"2024-12-26T07:47:14.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T08:27:31.513Z","etag":null,"topics":["authentication-setup","django","starter-template"],"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/SimpleCyber.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":"2024-12-26T05:10:18.000Z","updated_at":"2024-12-26T07:47:17.000Z","dependencies_parsed_at":"2024-12-26T08:37:39.966Z","dependency_job_id":null,"html_url":"https://github.com/SimpleCyber/django-starter-kit","commit_stats":null,"previous_names":["simplecyber/django-starter-kit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleCyber%2Fdjango-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleCyber%2Fdjango-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleCyber%2Fdjango-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleCyber%2Fdjango-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimpleCyber","download_url":"https://codeload.github.com/SimpleCyber/django-starter-kit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742366,"owners_count":19689307,"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":["authentication-setup","django","starter-template"],"created_at":"2024-12-29T20:51:38.301Z","updated_at":"2026-01-07T14:30:19.113Z","avatar_url":"https://github.com/SimpleCyber.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"1.  🌿 django-admin startproject project-name\n\n2. open the project-name \n    🌿  python manage.py makemigrations\n    🌿  python manage.py migrate       \n\n\n   \u003c!-- Now we will create our apps in project --\u003e\n   python manage.py startapp home\n\n3. Resister [app]\n   After my [app] has been created (home)\n    - home/apps.py \n    copy function name \"HomeConfig\"\n    and \n    paste it in the [project] (usersproject)\n\n    - usersproject/settings.py\n        Installed_apps= [\n            'home.apps.HomeConfig',\n        ]\n\n     🌿 python manage.py startapp home\n\n4. Allowed_hosts =[]\n   usersproject/settings.py\n    define the allowed hosts = [\"http://localhost:8000, \"satyam.com\"]\n    else it will throw an error\n\n\n5. create an static and templates folder\n   - home\n   - usersproject\n   - static\n   - templates\n\n6. set static dirs in django\n   usersproject/settings.py\n     at the end paste this\n     STATICFILES_DIRS = [\n        os.path.join(BASE_DIR ,\"static\"),\n    ]\n\n7. set templates \n    usersproject/settings.py\n    update :  'DIRS': [os.path.join(BASE_DIR ,\"templates\"),],\n\n\n    \u003c!-- 🌿🌿🌿 PROJECT SETUP COMPLETED 🌿🌿🌿 --\u003e\n    # Start server : py manage.py runserver \n\n\n\u003c!-- Let's begin with the project --\u003e\n1. Create the html files\n   1. templates/index.html\n   2. templates/login.html\n\n\n\n2. update the userproject/urls.py\n    - from django.urls import path =\u003e from django.urls import path , include\n    - urlpatterns = [\n        path('admin/', admin.site.urls),\n        \u003c!-- Start adding the urls routes to the apps --\u003e\n        path('', include('home.urls')),\n    ]\n\n    - [app] home\n      create a new file name home/urls.py : this will handle all of the home files routing\n\n      home/urls.py\n        from django.contrib import admin\n        from django.urls import path , include\n        from home import views\n\n        urlpatterns = [\n            path('', views.index, name=\"home\"),\n            path('login', views.login, name=\"login\"),\n            path('logout', views.logout, name=\"logout\"),\n        ]\n\n    - [app] home/views.py  : now i need to create all of the functions too\n  \n        from django.shortcuts import render, redirect\n        # Create your views here.\n        def index(request):\n            return render(request,'index.html')\n        def login(request):\n            return render(request,'login.html')\n        def logout(request):\n            return render(request,'index.html')\n\n\n\n\n\n\n\n\n\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplecyber%2Fdjango-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplecyber%2Fdjango-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplecyber%2Fdjango-starter-kit/lists"}