Skip to content

The project of registration and maintenance of mobile phone service customers

License

Notifications You must be signed in to change notification settings

MohammadMahdi-Akhondi/mobile_operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mobile operator

This is a web service for registering and maintaining mobile phone service customers. It allows users to store and manage customer and service information.

Table of Content:

Business rules:

  • The subscriber must be over 18 years of age. Minors cannot be registered in the system.
  • The subscriber cannot have more than 10 lines. It is not possible to add the 11th service for the subscriber.

Technology stack:

This web service is implemented using the Django framework and the Spyne library in the SOAP protocol.

Spyne is a Python RPC toolkit that makes it easy to expose online services that have a well-defined API using multiple protocols and transports.

Installation:

To install and run this web service, follow the steps below:

  1. Clone the repository:
git clone https://github.com/MohammadMahdi-Akhondi/mobile_operator.git
  1. Create and activate a virtual environment:
python -m venv env
source env/bin/activate    # for Linux/Mac
env\Scripts\activate      # for Windows
  1. Install required packages:
cd mobile_operator
pip install -r requirements.txt
  1. Run database migrations:
python manage.py migrate
  1. Start the server:
python manage.py runserver

Tests:

Tests are included to ensure the functionality of the web service. To run tests, execute the following command:

python manage.py test

Usage:

To access the documentation for the service, you can follow the link below.

http://127.0.0.1:8000/api/?wsdl

screen of chrome

You can also use SoapUI to automatically generate requests.

screen of soap ui

About

The project of registration and maintenance of mobile phone service customers

Topics

Resources

License

Stars

Watchers

Forks

Languages