{"id":18158202,"url":"https://github.com/Katsumi404/SongWebsite","last_synced_at":"2025-03-31T23:31:58.959Z","repository":{"id":260631102,"uuid":"881890661","full_name":"Katsumi404/SongWebsite","owner":"Katsumi404","description":"Another Queen Mary Project, this time it is a python webiste, using the django library, and conda environment, which is a blog website.","archived":false,"fork":false,"pushed_at":"2024-11-11T15:58:03.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T08:14:55.281Z","etag":null,"topics":["bootstrap","conda-environment","django-application","django-framework","django-project","fetch-api","python","python3","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/Katsumi404.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-11-01T12:56:50.000Z","updated_at":"2024-11-11T15:59:48.000Z","dependencies_parsed_at":"2024-12-20T15:24:50.977Z","dependency_job_id":"98361e2b-fc31-44e5-b301-2a73a5e6fcdd","html_url":"https://github.com/Katsumi404/SongWebsite","commit_stats":null,"previous_names":["katsumi404/blogwebsite","katsumi404/songwebsite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katsumi404%2FSongWebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katsumi404%2FSongWebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katsumi404%2FSongWebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Katsumi404%2FSongWebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Katsumi404","download_url":"https://codeload.github.com/Katsumi404/SongWebsite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246558089,"owners_count":20796696,"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":["bootstrap","conda-environment","django-application","django-framework","django-project","fetch-api","python","python3","vue"],"created_at":"2024-11-02T07:05:51.027Z","updated_at":"2025-03-31T23:31:58.950Z","avatar_url":"https://github.com/Katsumi404.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template for ECS639U Individual Coursework\n\nThis template should be used as the starting point for your individual coursework in the module ECS639U Web Programming (at Queen Mary University of London). Module leader: Paulo Oliva \u003c[p.oliva@qmul.ac.uk](mailto:p.oliva@qmul.ac.uk)\u003e\n\n## Create conda environment\n\nAfter cloning this repository, create a conda environment for this project and activate the environment:\n\n```console\n$ conda create --name cwindividual python=3.11\n$ conda activate cwindividual\n```\n\n## Django backend\n\nThe `backend` folder contains a [Django project](https://docs.djangoproject.com/en/stable/intro/tutorial01/) and was created with:\n\n```console\n(cwindividual)$ django-admin startproject backend\n```\n\n### Install backend (Python) dependencies\n\nWith the conda environment active, install the backend (Python) dependencies:\n\n```console\n(cwindividual)$ cd backend\n(cwindividual)$ pip install -r requirements.txt\n```\n\nThe main backend dependencies (see requirements.txt) are the Django framework itself (Django) and [django-cors-headers](https://pypi.org/project/django-cors-headers/) which is needed for CORS requests (since the request origin address http://localhost:5713 is different from the address that sent the JavaScript code to the browser http://localhost:8000).\n\n### Start backend server\n\nTo start the backend server cd into the backend folder where the manage.py file is (if not already there)\n\n```console\n(cwindividual)$ cd backend\n```\n\nand run\n\n```console\n(cwindividual)$ python manage.py runserver\n```\n\nThe server will start on http://localhost:8000\n\n### API app\n\nAn \"api\" Django app has already been created with the command\n\n```console\n$ python manage.py startapp api\n```\n\nand can be tested by visiting http://localhost:8000/api/test.json\n\n## Vue frontend\n\nThe `frontend` folder contains a [Vue/Vite project](https://vitejs.dev/guide/) and was created with:\n\n```console\n(cwindividual)$ npm create vite@latest\n```\n\n### Install frontend (JavaScript) dependencies\n\nTo install the frontend (JavaScript) dependencies cd into the frontend folder\n\n```console\n(cwindividual)$ cd frontend\n```\n\nand run:\n\n```console\n(cwindividual)$ npm install\n```\n\nThe main frontend dependencies (see package.json) are [vue](https://vuejs.org/guide/introduction.html) and [bootstrap](https://getbootstrap.com/docs/5.0/getting-started/download/).\n\n### Start frontend server\n\nTo start the frontend server run\n\n```console\n(cwindividual)$ npm run dev\n```\n\nand the server will start on http://localhost:5173\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKatsumi404%2FSongWebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKatsumi404%2FSongWebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKatsumi404%2FSongWebsite/lists"}