{"id":22737616,"url":"https://github.com/prasanth3291/3ivis","last_synced_at":"2026-04-09T12:33:26.496Z","repository":{"id":262208699,"uuid":"886525989","full_name":"prasanth3291/3ivis","owner":"prasanth3291","description":"A sample web application demonstrating a full-stack setup with a Django backend, JWT-based authentication, and a React frontend featuring data visualization with D3.js.","archived":false,"fork":false,"pushed_at":"2024-11-11T06:50:25.000Z","size":9959,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T05:41:19.272Z","etag":null,"topics":["cookiecutter","d3-visualization","javascript","jwt-authentication","pyenv","react","redux"],"latest_commit_sha":null,"homepage":"","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/prasanth3291.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-11T06:10:44.000Z","updated_at":"2024-11-11T06:53:07.000Z","dependencies_parsed_at":"2024-11-11T07:44:36.852Z","dependency_job_id":null,"html_url":"https://github.com/prasanth3291/3ivis","commit_stats":null,"previous_names":["prasanth3291/3ivis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth3291%2F3ivis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth3291%2F3ivis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth3291%2F3ivis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth3291%2F3ivis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prasanth3291","download_url":"https://codeload.github.com/prasanth3291/3ivis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246270783,"owners_count":20750457,"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":["cookiecutter","d3-visualization","javascript","jwt-authentication","pyenv","react","redux"],"created_at":"2024-12-10T22:16:27.374Z","updated_at":"2025-12-30T21:52:19.233Z","avatar_url":"https://github.com/prasanth3291.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 3IVIS Assignment\n\nThis project is a sample web application demonstrating a full-stack setup with a Django backend, JWT-based authentication, and a React frontend featuring data visualization with D3.js.\n\n## Technologies Used\n\n- **Backend**: Django, Django REST Framework (DRF), JWT for authentication\n- **Frontend**: React, Redux, Axios, D3 for data visualization\n- **Environment Management**: pyenv for managing Python environment\n- **Database**: Postgres (local database for Django setup)\n- **Project Template**: Cookiecutter Django for project scaffolding and structure\n\n## Project Setup\n\n### Cloning the Repository\n\n1. Clone this repository to your local machine:\n\n    ```bash\n    git clone https://github.com/prasanth3291/3ivis.git\n    cd 3ivis\n    ```\n\n## Backend Setup\n\n1. **Navigate to the Backend Folder**:\n\n    ```bash\n    cd backend\n    ```\n\n2. **Environment Setup**:\n\n    - Create a `.env` file inside the `backend` folder.\n    - In the `.env` file, provide the `DATABASE_URL` for connecting to Postgres. Example:\n\n      ```plaintext\n      DATABASE_URL=postgres://username:password@localhost:5432/ivis_db\n      ```\n\n    - Ensure the database name in `DATABASE_URL` matches the one specified in `base.py` within the `settings` folder (`backend/config/settings/base.py`).\n\n3. **Activate Python Environment**:\n\n    Use `pyenv` to activate the environment:\n\n    ```bash\n    pyenv activate 3ivis-assignment\n    ```\n\n4. **Database Setup**:\n\n    - Create a Postgres database named `ivis_db` (or update the name in `.env` and `base.py` if using a different name).\n    - Run migrations:\n\n      ```bash\n      python manage.py migrate\n      ```\n\n5. **Run Backend Server**:\n\n    ```bash\n    python manage.py runserver\n    ```\n\n## Frontend Setup\n\n1. **Navigate to the Frontend Folder**:\n\n    ```bash\n    cd ivis-frontend\n    ```\n\n2. **Install Dependencies**:\n\n    ```bash\n    npm install\n    ```\n\n3. **Start the Frontend Server**:\n\n    ```bash\n    npm start\n    ```\n\n## Usage\n\n### User Registration\n\n- Open the frontend application in the browser.\n- Register a new user using the registration form.\n\n### Login\n\n- Log in with the credentials created during registration.\n\n### Dashboard\n\n- Upon successful login, navigate to the dashboard.\n- The dashboard displays a sample D3 chart.\n- Click the \"Load Data from API\" button to load additional data from the backend.\n\n**Note**: For simplicity, the application does not store data in the Postgres database; instead, it uses sample data for visualization.\n\n## Additional Information\n\nThis project demonstrates a typical full-stack architecture:\n\n- **Backend**: Handles user registration, login, and data retrieval.\n- **Frontend**: Provides user interface and interactions with the backend API via Axios.\n- **JWT Authentication**: Manages secure access to protected routes and data.\n- **Cookiecutter Django**: Utilized for creating the Django project structure, offering a standardized and scalable layout.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasanth3291%2F3ivis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprasanth3291%2F3ivis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasanth3291%2F3ivis/lists"}