Skip to content

Monoametsi/Client-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client-Manager

Client Manager is a small mock application that provides a platform for Relationship managers to manage their clients. It helps them to view all information about their clients and also allows for them to make requests to their clients. The app also allows for clients to submit responses to requests through an interface. The app has no authentication and has been hard coded to look as if a user was logged in. The webapp was created with the help of Python, Django and Sqlite.

Running the Application Locally:

  1. Install python 3.7.3

  2. $ git clone https://github.com/Monoametsi/Client-Manager.git

  3. $ cd Client-Manager

  4. $ virtualenv env

  5. $ source ./Scripts/activate

  6. $ pip install -r requirements.txt

  7. $ cd src

  8. $ touch .env

  9. Navigate to https://djecrety.ir/ , generate a secret key and copy it.

  10. Open .env file and write SECRET_KEY=(Paste generated secret key), done forget to paste your generated secret key.

  11. $ python manage.py makemigrations

  12. $ python manage.py makemigrations client_manager

  13. $ python manage.py migrate

  14. $ python manage.py migrate client_manager

  15. $ python manage.py createsuperuser

  16. Follow instructions from createsuper command

  17. $ python manage.py runserver

  18. If the command does not run immediately, go to the manage.py file, write whatever text you want, comment that text out then save the file. The command should run after saving the file

  19. Navigate to http://127.0.0.1:8000/admin/

  20. Log in with the information you gave to the createsuper instructions.

  21. Navigate to http://127.0.0.1:8000/admin/client_manager/client/add/ to create a mock client

  22. Navigate to http://127.0.0.1:8000/ to view client information.

  23. Click either the send request button or the envelope icon to activate a form that you can use to send a request to the client.

  24. Navigate to http://127.0.0.1:8000/admin/client_manager/client/ and copy the uuid of the client, which is the text written in between brackets next to the name Client object.

  25. Paste the uuid next to the following url http://127.0.0.1:8000/client-dashboard/ and navigate to it. your url will look something like this, http://127.0.0.1:8000/client-dashboard/72373c0e-a1be-480c-9533-4c3aea148fc2

  26. You will have accessed the client interface, click the table row to access a form the will allow you to send documents as a response to the relationship manager's request.

  27. After successfully submitting the document, navigate back to http://127.0.0.1:8000/ and click the table row of the client who sent the file. A side navigation will pop up which will include a link to the file sent by the client. Click the link to view the document sent by the client.

  28. The apps mission is accomplished, you have used the app to its full extent and now understand what its all about. Play around with it by creating more clients, sending more documents as a client and viewing them on the relationship manager's page as instructed in the instructions above.

About

A webapp that allows the relationship managers to manage document requests from their clients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors