Code Monkey home page Code Monkey logo

ip-project-api's People

Contributors

anaidde avatar gitoni4 avatar loghinvladdev avatar mototoleacosmindavid avatar sergiudeveloper avatar tavi2105 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ip-project-api's Issues

[SERVICE] Institution Creation

Priority : I
Type : POST
Input :

  • User Credentials
    • Username
    • Password
  • Institution Name
  • Institution Address (Object described below)

Address is a json object

Address : {
    Country : ...
    Region : ...
    City : ...
    Street : ...
    Number : ...
    Building : ...
    Floor : ...
    Apartment : ...   (or Office, not yet determined)
}

Output : "status" : "...", "error" : "..."

Flow : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Flows/Service/Institution/Institution_Creation_Service.jpg
Institution_Creation_Service

Documentation : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Documentation/Services/Institution/Create%20Institution.pdf

[SERVICE] Retrieve Institution Information

Priority : III
Type : GET

Input :

  • Account Credentials
    • Username
    • Password
  • Institution Name

Output : response : status = ... , error = ... , InstitutionInformation = ...

InstitutionInformation : 
{
    Name : ...
    Addresses : [addr1, addr2, .... , addrn]
}

Flow : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Flows/Service/Institution/Retrieve_Institution_Information.jpg
Retrieve_Institution_Information

Documentation : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Documentation/Services/Institution/RetrieveInstitutionInformation.pdf

[QA] Login Service Testing

Service Location :
https://fiscaldocumentseditest.azurewebsites.net/LoginEndPoint.php
Exemplu Functional :
https://fiscaldocumentseditest.azurewebsites.net/LoginEndPoint.php?username=usertest1&hashedPassword=plmcoaie

<<<<< IN VIITOR, ERORILE SI SUCCES-UL VOR EXISTA IN DOCUMENTATIE SI/SAU VOR FI ADAUGATE CA SI ISSUE DE DEVELOPER-UL SERVICIULUI >>>>>

Response :

  • 'status' = 'success'/'failed'
  • 'error' = '...eroare...' (mai jos se afla)

Erori :

  • REQUEST_NOT_FOUND, HTTP Code : 400, Cause : Request-ul nu e GET
  • BAD_USERNAME_PASS, HTTP Code : 400, Cause : Inputul serviciului (pe link) e invalid (nu are user sau pass)
  • DATABASE_FAILED, HTTP Code : 200, Cause : A crapat baza de date, exceptie interna
  • WRONG_PASSWORD, HTTP Code : 200, Cause : A gasit user-ul, parola e gresita
  • USER_NOT_FOUND, HTTP Code : 200, Cause : Nu a gasit user-ul in baza de date
  • USER_INACTIVE, HTTP Code : 200, Cause : User, Pass corect, User-ul nu e activat

Success :

  • response = success, HTTP Code : 200, User, Pass corect, User activ

[SERVICE] Account Information Modification Service

Source Location: https://github.com/SergiuDeveloper/IP-Project-API/tree/Services/Services/EndPoints/ModifyAccountData

Priority : II
Type : POST

Input :

  • username
  • currentPassword
  • newPassword
  • newFirstName
  • newLastName

Leave NULL for new fields if no modifications apply

Output : response : "status" : "...", "error" : "..."
Flow : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Flows/Service/Account/Update_Account_Information_Service_Flowchart.jpg

Update_Account_Information_Service_Flowchart

Documentation : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Documentation/Services/Modify_Account_Data_Service_Documentation.pdf

[SERVICE] Retrieve Member's Institutions

Priority : II
Type : GET
Input :

  • Credentials
    • Username
    • Password

Output : "status" : "...", "error" : "...", list

Institution: {
    InstitutionName : ...
    Role : ...
}

Get List of Institutions a given member is a part of (with roles in each inst)

Flow : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Flows/Service/Institution/Retrieve_User_Institutions_Service.jpg
Retrieve_User_Institutions_Service

Documentation : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Documentation/Services/Institution/RetrieveMembersInstituitons.pdf

[DEVOPS] Cloud Document Storage Research (prep for S3)

Priority : II

Gather, present and debate information related to:

  • Cloud service which will be used

  • How to store documents on cloud (RAW data)

  • Additional views available for documents and whether or not to keep them on cloud

  • Any other relevant information

  • Will be discussed after the completion of Priority I issues.

[SERVICE] Login Service

[SERVICE] Institution Add Member

Priority : I
Type : POST
Input :

  • Account Credentials
    • Username
    • Password
  • Institution ( to which member will be added)
  • Username or Email (of the added member -> check will be done in PHP, look for @)
  • Rights given to added member (serialized array / flags string(not friendly) / json )

Output : "status" : "...", "error" : "..."

Set a given user as an employee of a given institution
[REQUIRES CAN_ADD_MEMBERS RIGHT]

Flow : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Flows/Service/Institution/Institution_Add_Member.jpg

Institution_Add_Member

Documentation : TBD

[SERVICE] Retrieve Institution Roles

Priority : I
Type : POST
Input :

[Used in edit roles or assign roles -> Admin Role required]

  • User Credentials
    • Username
    • Password
  • Institution Name

Output : response : stauts :... , error: .... , roles = String[]

Flow : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Flows/Service/Institution_Role/Retrieve_Institution_Roles_Service.jpg
Retrieve_Institution_Roles_Service

Documentation : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Documentation/Services/Institution/RetrieveInstitutionRoles.pdf

[SERVICE] Newsfeed List Retrieval Service

Priority: II

Type: GET
Input:

  1. username: string
  2. hashed_password: string
  3. posts_count: int

Output:

  1. status: string
  2. error: string
  3. posts: List
Post = {
    Title: string,
    Content: string,
    URL: string,
    DateCreated : string
    Tags: [ 
          {Title : string},
          {Title : string},
          ...
          {Title : string}
    ]
};

Tags can be  : 
- News
- Updates
- Tweets
- Reminders
- Events

Flow: TBD

[SERVICE] Newsfeed Post Removal Service

[SERVICE] Institution Remove Member

Priority : II
Type : POST
Input :

  • Credentials
    • Username
    • Password
  • Institution Name
  • Member to be removed ( Username )

Output : "status" : "...", "error" : "..."

[Admin only function]
Remove a member from the institution

Flow : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Flows/Service/Institution/Remove_Member_From_Institution.jpg
Remove_Member_From_Institution

Documentation : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Documentation/Services/InstitutionRemoveMember.pdf

[SERVICE] Institution Retrieve Members

Priority : I
Type : GET
Input :

  • Account Credentials
    • Username
    • Password
  • Institution Name

Output : "status" : "...", "error" : "...", json of list (below def of member)

member : {
    Username : ...
    Role : ...
}

Returns all members from a given institution

Flow : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Flows/Service/Institution/Retrieve_Institution_Members_Service.jpg

Retrieve_Institution_Members_Service

Documentation : https://github.com/SergiuDeveloper/IP-Project-API/blob/Design/Documentation/Services/InstitutionRetrieveMembers.pdf

[SERVICE] Account Creation Service

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.