{"id":25186694,"url":"https://github.com/iamakkkhil/contactform-django","last_synced_at":"2026-04-11T06:04:58.234Z","repository":{"id":48799160,"uuid":"382815320","full_name":"iamakkkhil/ContactForm-Django","owner":"iamakkkhil","description":"Contact form made using Django, Redis and Celery which notifies receiver and sender through email when sender submits the form.","archived":false,"fork":false,"pushed_at":"2021-07-11T16:42:33.000Z","size":5098,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T19:43:53.008Z","etag":null,"topics":["celery","django","gmail-api","mysql","python","python3","redis"],"latest_commit_sha":null,"homepage":"","language":"C","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/iamakkkhil.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}},"created_at":"2021-07-04T09:47:04.000Z","updated_at":"2021-07-11T16:42:35.000Z","dependencies_parsed_at":"2022-09-23T21:40:31.323Z","dependency_job_id":null,"html_url":"https://github.com/iamakkkhil/ContactForm-Django","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/iamakkkhil%2FContactForm-Django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamakkkhil%2FContactForm-Django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamakkkhil%2FContactForm-Django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamakkkhil%2FContactForm-Django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamakkkhil","download_url":"https://codeload.github.com/iamakkkhil/ContactForm-Django/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149505,"owners_count":20891954,"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":["celery","django","gmail-api","mysql","python","python3","redis"],"created_at":"2025-02-09T19:43:55.862Z","updated_at":"2025-12-30T23:08:57.351Z","avatar_url":"https://github.com/iamakkkhil.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contact Form using Django + Celery\n\nThis is a contact form project, you can use in personal portfolio websites or anywhere where people will like to contact you.\n\nWhen you submit the form it will save the details of the person who tried contacting you inside the database and also sends an email message both to the ower of contact form and person who tried conatcting with a personalised message.\n\n## Tech stack:\n\u003cp align=\"left\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/django-092E20.svg?\u0026style=for-the-badge\u0026logo=django\u0026logoColor=white\" /\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"https://img.shields.io/badge/python-FFD43B.svg?\u0026style=for-the-badge\u0026logo=python\u0026logoColor=white\" /\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"https://img.shields.io/badge/celery-9DCE5C.svg?\u0026style=for-the-badge\u0026logo=celery\u0026logoColor=white\" /\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"https://img.shields.io/badge/redis-%23B92B27.svg?\u0026style=for-the-badge\u0026logo=redis\u0026logoColor=white\" /\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"https://img.shields.io/badge/bootstrap-563d7c.svg?\u0026style=for-the-badge\u0026logo=bootstrap\u0026logoColor=white\" /\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"https://img.shields.io/badge/gmail-D14836.svg?\u0026style=for-the-badge\u0026logo=gmail\u0026logoColor=white\" /\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003c/p\u003e\n\n\u003c/br\u003e\n\n\n## Setup :\n1. Install the [requirements.txt](./requirements.txt) in a virtual env.\n   ```\n   pip install -r requirements.txt\n   ```\n   **Note**: Redis installation for Ubuntu [here](https://redis.io/topics/quickstart)\n\n\n2. Update your email address in [settings.py](./PortfolioContact/settings.py) file which will be used for sending an email.\n\n3. Update [.env](./PortfolioContact/settings.py) file by saving your email's password into it.\n\n4. Open four terminals with the virtual env created using requirements.txt file \n    \n    1. **Terminal 1** : Start Django server.\n        ``` \n        python manage.py runserver\n        ```\n        Note : Your directory should be same as manage.py file. \n        \n        ![Terminal1](https://user-images.githubusercontent.com/55273506/124386906-2e339800-dcfa-11eb-8bcc-736b50600a65.png)\n\n\n    2. **Terminal 2** : Starting Redis server ie. Message Broker.\n        ```\n        redis-server\n        ```\n        Make sure you have install redis properly.\n        \n        ![Terminal2](https://user-images.githubusercontent.com/55273506/124386927-50c5b100-dcfa-11eb-8d9e-be0fc383ee95.png)\n\n    \n    3. **Termial 3** : Starting Redis CLI to interact with our Django Application.\n        ```\n        redis-cli\n        ``` \n        ![Terminal3](https://user-images.githubusercontent.com/55273506/124386951-6cc95280-dcfa-11eb-836d-bec0971a6637.png)\n    \n    4. **Termial 4** : Running the Celery worker server i.e. connecting Celery to Redis by using below command. \n        ```\n        celery -A PortfolioContact worker --loglevel=INFO\n        ```\n        ![Terminal4](https://user-images.githubusercontent.com/55273506/124386961-7488f700-dcfa-11eb-8c95-10b7d38198ee.png)\n\n\n5. Follow the link from Terminal 1 to your local host **http://127.0.0.1:8000/** .\n\n6. Submit the form to see the results.\n\n\n## Working Screenshots:\n\n1. Contact Form:\n    \n    ![ContactForm_1](https://user-images.githubusercontent.com/55273506/124387044-af8b2a80-dcfa-11eb-8563-5870fc7ed6ff.png)\n\n\n2. After submitting form:\n\n    ![ContactForm_2](https://user-images.githubusercontent.com/55273506/124387069-bfa30a00-dcfa-11eb-929e-52714a3c6a5d.png)\n\n3. Email to owner:\n\n    ![Email_1](https://user-images.githubusercontent.com/55273506/124387090-d2b5da00-dcfa-11eb-91df-1d2dee5d8c4e.png)\n\n\n\n4. Email to client who submitted the form:\n\n    ![Email_2](https://user-images.githubusercontent.com/55273506/124387096-d6e1f780-dcfa-11eb-8bb2-5954ea8dc9c8.png)\n\n\n\n## [Akhil Bhalerao](https://github.com/iamakkkhil)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamakkkhil%2Fcontactform-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamakkkhil%2Fcontactform-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamakkkhil%2Fcontactform-django/lists"}