{"id":23057500,"url":"https://github.com/jerinpious/contact-list","last_synced_at":"2025-04-03T06:13:10.111Z","repository":{"id":240274948,"uuid":"802150366","full_name":"jerinpious/Contact-List","owner":"jerinpious","description":"A contact list management system using python Flask as backend and React.js as frontend","archived":false,"fork":false,"pushed_at":"2024-05-17T16:22:12.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T19:45:16.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jerinpious.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-05-17T16:04:04.000Z","updated_at":"2024-05-17T16:22:42.000Z","dependencies_parsed_at":"2024-05-17T18:44:32.926Z","dependency_job_id":null,"html_url":"https://github.com/jerinpious/Contact-List","commit_stats":null,"previous_names":["jerinpious/contact-list"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerinpious%2FContact-List","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerinpious%2FContact-List/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerinpious%2FContact-List/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerinpious%2FContact-List/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerinpious","download_url":"https://codeload.github.com/jerinpious/Contact-List/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246944389,"owners_count":20858773,"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-12-16T02:12:31.856Z","updated_at":"2025-04-03T06:13:10.082Z","avatar_url":"https://github.com/jerinpious.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Contact List Project\n## Overview\nThis project is a basic Contact List application built with a Flask backend and a React frontend. The application allows users to create, read, update, and delete contacts. It uses SQLite as the database.\n\n## Requirements\n### Backend\n- Python 3.x\n- Flask\n- Flask-SQLAlchemy\n- Flask-CORS\n### Frontend\n- Node.js\n- React\n### Setup Instructions\n#### Backend\n- Clone the Repository\n\n~~~\ngit clone \u003crepository-url\u003e\ncd \u003crepository-directory\u003e\n~~~\n- Create a Virtual Environment\n~~~\npython -m venv venv\nsource venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n~~~\n- Install Dependencies\n~~~\npip install flask flask_sqlalchemy flask_cors\n~~~\n- Run the Flask Application\n - cd to backend\n~~~\npython main.py\n~~~\nThe backend will be running on http://127.0.0.1:5000.\n\n#### Frontend\n- Navigate to the Frontend Directory\n~~~\ncd frontend\n~~~\n- Install Dependencies\n~~~\nnpm install\n~~~\n- Run the React Application\n~~~\nnpm run dev\n~~~\nThe frontend will be running on http://localhost:3000.\n\n### Project Structure\n#### Backend\n- main.py: Contains the main Flask application code, including route definitions and database setup.\n- config.py: Configuration file for the Flask application.\n- models.py: Defines the database models.\n#### Frontend\n- App.jsx: Main component of the React application, rendering the contact list and forms.\n- ContactList.jsx: Component for displaying the list of contacts.\n- ContactForm.jsx: Component for creating and updating contacts.\n### API Endpoints\n~~~\nGET /contacts: Retrieves all contacts.\nPOST /create_contact: Creates a new contact.\nPATCH /update_contact/\u003cint:user_id\u003e: Updates an existing contact.\nDELETE /delete_contact/\u003cint:user_id\u003e: Deletes a contact.\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerinpious%2Fcontact-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerinpious%2Fcontact-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerinpious%2Fcontact-list/lists"}