Table of Contents
A simple web project for storing and aggregating contacts.
With this app you can:
- Create/Edit/Delete Contacts
- Create/Edit/Delete Contacts books which is at is core a contact groups like family, friend, etc...
- Add/Remove contacts related to contact books.
- Find contacts/contact books by their name.
Backend:
- Django
- PostgreSQL
- DRF
- JWT Authorization
Frontend:
- Vue.js
- Vuex
- Vuetify
- Axios
Just install Docker and start with
$ docker-compose up
First of all up PostgreSQL db and set it up as in backend/backend/settings.py. The second step is execute this commands:
$ pip install venv
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python backend/manage.py migrate
$ python backend/manage.py runserver
$ cd frontend
$ npm install
$ npm run serve
After succesfull install you will be able to see:
- Backend server on localhost:8000
- Frontend server on localhost:8080
It is also possible to populate the database with folowing commands:
$ pip install requests
$ python backend/contacts/test_utils/fill_db.py
In backend docker container or just in terminal in case of raw install. It will create a user with test login and password with auto generated contacts and contacts books.