Skip to content

In the project, I developed APIs covering 6 endpoints. Utilized Django signals for capturing events, etc

Notifications You must be signed in to change notification settings

mikekwabs/stanbic-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stanbic Bank API Assessment

Link to the assessment

{https://drive.google.com/file/d/1kabiADaQmHQRHQoe3u9dmmfCsQlZkj1o/view?usp=sharing}

The project covers 6 endpoints in the assessment. They are as follows:

  1. Add a new customer. {http://127.0.0.1:8000/api/add-customer/}
  2. Retrieve all customers. {http://127.0.0.1:8000/api/get-customers/}
  3. Retrieve a customer’s info by Email or phone number. "{http://127.0.0.1:8000/apiget-customer-phone/}"
  4. Update Customer info. {http://127.0.0.1:8000/api/update-customer/}
  5. Add a new account to an existing customer. {http://127.0.0.1:8000/api/add-account/}
  6. Retrieve all accounts of a customer using email or phone number. {http://127.0.0.1:8000/api/get-accounts-phone/}
  7. Delete an account by account number. {http://127.0.0.1:8000/api/delete-account}
  8. Delete a customer and all linked accounts. {http://127.0.0.1:8000/api/delete-customer}

To get started.....

  • Clone the repository
  • git clone https://github.com/mikekwabs/stanbic-api.git
    

    then..

  • Change directory to the project
  • cd into stanbic
    

    then..

  • Install dependencies
  • run pip install -r requirement.txt
    

    then..

  • run the development server
  • run python manage.py runserver
    

Next:

  1. Implement signals

Please send a PR if you interested in expanding the database or any suggestions you think will be beneficial. Thank you

About

In the project, I developed APIs covering 6 endpoints. Utilized Django signals for capturing events, etc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages