{"id":16537814,"url":"https://github.com/pablolec/oc_epic_events","last_synced_at":"2026-01-12T06:42:33.698Z","repository":{"id":41860741,"uuid":"391318735","full_name":"PabloLec/oc_epic_events","owner":"PabloLec","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-16T21:32:27.000Z","size":73,"stargazers_count":0,"open_issues_count":23,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T22:28:18.244Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PabloLec.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":"2021-07-31T10:05:00.000Z","updated_at":"2021-08-27T08:38:26.000Z","dependencies_parsed_at":"2025-02-08T12:38:23.847Z","dependency_job_id":null,"html_url":"https://github.com/PabloLec/oc_epic_events","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/PabloLec%2Foc_epic_events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Foc_epic_events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Foc_epic_events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Foc_epic_events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabloLec","download_url":"https://codeload.github.com/PabloLec/oc_epic_events/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246899668,"owners_count":20851898,"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-10-11T18:43:30.489Z","updated_at":"2026-01-12T06:42:33.692Z","avatar_url":"https://github.com/PabloLec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oc_epic_events\n\n:books: Made for an [OpenClassrooms](https://openclassrooms.com) studies project.  \n`oc_epic_events` is a Django built CRM for an event planning company.\n\n# Features\n\nCRM features 3 different types of users grouped in teams:\n1) Management team - CRM admins, use Django admin panel as a frontend to manipulate all DB entries.\n2) Sales team - Access to CRM via API, can execute all CRUD operations except on CRM users.\n3) Support team - Access to CRM via API, can only interact with assigned events.\n\nPostgreSQL database stores CRM users, clients and related contracts and events.\n\n# Documentation\n\nSee full Postman API documentation:  \nhttps://documenter.getpostman.com/view/16341824/TzzBrGTC\n\n# Setup\n\n- First clone this repository and navigate to downloaded folder:\n  ``` bash\n  git clone https://github.com/PabloLec/oc_epic_events.git\n  cd oc_epic_events\n  ```\n\n- Then, start a virtual environment:\n  ``` bash\n  python3 -m venv env\n  source env/bin/activate\n  ```\n\n- Before running, install the project requirements with:\n  ``` bash\n  python3 -m pip install -r requirements.txt\n  ```\n\n- Make sure to have postgreSQL available on your system.\n\n- In `psql` CLI, type (if you edit below value, also edit `settings.py`):\n```sql\nCREATE DATABASE epic_events;\nCREATE USER epic_events WITH PASSWORD 'epic_events';\nALTER ROLE epic_events SET client_encoding TO 'utf8';\nALTER ROLE epic_events SET default_transaction_isolation TO 'read committed';\nALTER ROLE epic_events SET timezone TO 'UTC';\nGRANT ALL PRIVILEGES ON DATABASE epic_events TO epic_events;\n\\q\n```\n\n- Finally, setup DB with:\n``` bash\n  cd epic_events\n  python3 -m manage makemigrations\n  python3 -m manage migrate\n  python3 -m manage setup\n  ```\n\n# Usage\n\n- First, create a superuser with:\n  ``` bash\n  python3 -m manage createsuperuser\n  ```\n- Then, run the server:\n  ``` bash\n  python3 -m manage runserver\n  ```\n- Website should be served at `127.0.0.1:8000`.\n- You can manage your database on `127.0.0.1:8000/admin`  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolec%2Foc_epic_events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablolec%2Foc_epic_events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolec%2Foc_epic_events/lists"}