Git Product home page Git Product logo

curanetwork_library's Introduction

curanetwork_library

A library for the frontend and backend of the curanetwork mobile apps.

Getting Started

This project contains the boilerplate code for the Curanet Mobile Apps

Features:

  • Api Helper Class { Backend }
  • Utils components { Frontend }

Api Helper Class:

  • Accounts
  • Appointments
  • wallets
  • records

Flutter Environment:

  • Flutter SDK

Usage

import the curanetwork_library to get access to the boilerplate code

    import 'package:curanetwork_library/*   

Api Helper Class Functions

To use the backend services, import the Apis.dart helper class like this

    import 'package:curanetwork_library/services/Apis.dart';
  • Signup function taking EMAIL, MOBILE NO. AND PASSWORD
  • Activate function taking in TYPE, EMAIL, CODE AND MOBILE NO.
  • Login with email function taking EMAIL AND PASSWORD
  • Login with phone function taking PHONE AND PASSWORD
  • Edit patients function taking FIRSTNAME,MIDDLE NAME,LASTNAME, DOB,SEX, ADDRESS, CITY, STATE, SELFY, IDtype, IDnumber, IDverified, WEIGHT, HEIGHT, GENOTYPE, MEDICAL DOCUMENTS, EMERGENCY CONTACT,
  • Edit doctor profile taking in FIRSTNAME,MIDDLE NAME,LASTNAME, DOB,SEX, ADDRESS, CITY, STATE, WEIGHT, HEIGHT, GENOTYPE, MEDICAL DOCUMENTS, EMERGENCY CONTACT,
  • Send Otp taking in EMAIL and PHONE
  • Verify Otp taking in TYPE, EMAIL,CODE, REFERENCE
  • ID verification taking in TYPE and BVN
  • Get User Account Details { a get request}
  • Forgot Password funtion taking in PHONE NUMBER
  • Logout
  • Book An Appointment taking in DOCTOR {ID} AND DATETIME
  • Reschedule Appointment taking in DATETIME
  • Cancel Appointment taking in REASON and MESSAGE
  • View Appointments taking in REASON and MESSAGE
  • Recommended Doctor taking in BODYPART
  • Get Doctor Details {get request}
  • Get Prescription {get request}
  • Wallet Details {get request}
  • Make Deposit taking in TYPE and AMOUNT
  • Make Withdrawal taking in AMOUNT and WITHDRAWAL PIN
  • Add Bank Account BANK, ACCOUNT NAME, ACCOUNT PIN, WITHDRAWAL PIN
  • View Transactions taking in PHONE and PASSWORD
  • Pay With card taking in EMAIL and PASSWORD
  • Pay With Bank Transfer taking in EMAIL and PASSWORD

Frontend helper class functions

To use the frontend tools, they are all found in the utils directory. Example, if you want to use the colors utils helper class, import it like this

    import 'package:curanetwork_library/utils/values/colors.dart';
Constants:

Tools are used by importing from {{base_lib}}/utils/values/

  • Borders
  • Colors
  • Params
  • Radii
  • Shadows
  • Values

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.