Contact Import TestApp
Test app for importing contact information in CSV files.
Explore the docs »
· Report Bug · Request Feature
Table of Contents
About The Project
TestApp for importing contacts contained within a CSV file.
Built With
Getting Started
To install and run the TestApp, follow these instructions.
Prerequisites
- SQLite
sudo apt install sqlite
- python
sudo apt install python
- pipenv
pip install pipenv
Installation
- Install dependencies.
pipenv sync
- If project Venv wasnt activated automatically:
pipenv shell
- Create database and apply migrations.
python csvtest/manage.py makemigrations python csvtest/manage.py migrate
- Run server.
python csvtest/manage.py runserver
Optional
Run tests
python csvtest/manage.py test -v 2
Run coverage analysis
coverage run csvtest/manage.py test -v 2
coverage html
Command will output the coverage report path.
Usage
- Enter the project page at http://localhost:8000/
- Upload CSV file and send it to server.
- Map each CSV Column to a Contact field (It's fine to leave columns unmapped. They'll be saved nonetheless).
- Confirm the mappings.
Roadmap (Or what I would've done with more time)
- Basic backend functionality.
- Logs.
- Basic front end.
- Documentation.
- Dockerization.
- Better logs.
- Model validation with Django-Ninja.
- Swagger API implementation.
- Better front end.
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Contact
Sebastian Yanik - [email protected]
Project Link: https://github.com/DeLaboreMercurio/ImportContactsTestApp