The Contact File Backend Service offers a seamless solution for users to upload contact information in various formats (CSV, XLSX, or XLS). Upon submission, the backend processes this data, extracting details such as names, phone numbers, emails, and genders. It compiles this information into a unified contact file (VCF file) compatible with Android and iOS devices, simplifying contact management.
- Enables users to upload contact files in various formats (CSV, XLSX, XLS, ODS) effortlessly.
- Identifies and extracts headers from uploaded files to assist in contact data organization.
- Provides a user-friendly interface for mapping extracted headers to predefined contact fields like first name, middle name, last name, gender, phone number, and email for accurate data categorization.
- Row Filtering: Allows skipping rows without a phone number or with insufficient phone number digits.
- Data Validation: Offers options to set criteria for data inclusion, ensuring accuracy and completeness.
- Unified VCF File: Generates a single VCF file containing all organized contact information.
- Individual Contact Files: Provides flexibility to receive contacts as separate files bundled together in a convenient zip format.
Follow these steps to set up and run the Contact File Backend Service locally:
-
Local Installation
-
Clone the Repository
- Clone the repository.
git clone https://github.com/shivamgutgutia/Contactify.git
- Navigate to the cloned directory and run
cd Contactify
- Clone the repository.
-
Install Dependencies
- Install all required dependencies for running the server on local machine
pip3 install -r requirements.txt
- Install all required dependencies for running the server on local machine
-
Configuration
- Create a
.env
file in the root directory. - Define environment variables such as:
PORT=5000
- Create a
-
Start the Server
- Start the backend service
flask run
- The service will be running on
http://localhost:5000
by default.
- Start the backend service
-
-
Docker Installation
- Pull image
- Pull the docker image from Docker Hub
docker pull shivamgutgutia/contactify:latest
- Pull the docker image from Docker Hub
- Run Container
- Create and run a container using the image pulled
docker run -d -p 5000:5000 shivamgutgutia/contactify:latest
- The service will be running on
http://localhost:5000
.
- Create and run a container using the image pulled
- Pull image