scorelab / OpenMF

An Open Source Mobile Forensics Investigation Tool for Android Platform
Apache License 2.0
150 stars 97 forks source link

Design and implemented Database Model and added more APIs #43

Closed shivanshuraj1333 closed 4 years ago

shivanshuraj1333 commented 4 years ago
Added more Flask RESTful APIs and designed and implemented the Database model from scratch. 

This pull request is addressed to solve issue #42 which is a subpart of issue #37

In this pull request, a complete database model is designed and added more APIs. Different tasks which are completed during this period are given below:-

  1. Setting up SQLite3, flask_sqlalchemy and other tools for database model development
  2. Writing down APIs details, metadata, in Flask with additional dependencies
  3. Setting up MySQL data models and init SQL scripts
  4. Implementing the required case related APIs.
shivanshuraj1333 commented 4 years ago
Below is the modified data hierarchy which a user can browse from react frontend to see the relevant files of any session:

Data hierarchy designed to incorporate extraction and retrieval of data from Flask Rest APIs used to show data on frontend based on React

Every case consists of db, report, tsv and json folder depending on the parameters provided during extraction

vivonk commented 4 years ago

@shivanshu1333 @charithccmc @Wolf-Legend now codebase is growing so should we start focusing on component testing and build testing?

shivanshuraj1333 commented 4 years ago

Yes @vivonk we should, moreover, I have some other improvements in my mind, will soon make issues and add Hactoberfest tag with them as Hacoberfest will start soon, it will help developers to find relevant issues.