3. This project will provide a GUI and a service layer
on top of Cassandra, exposing data(and services)
via REST API.
● Exposes Cassandra data tables as a REST API
for huge volumes of data.
● Build a web-based user interface to expose
the API and enable querying.
● Enable pagination of results for convenience
and readability of the user.
4. PROCESS MODEL
Automatically organize data into tables using
Cassandra.
Display results with pagination
Assemble collected data.
Provide REST API for querying the database.
Display contents of database in user friendly
format.
5. Logical Flow
Home Page Rest call
Backend
Server
Parsing
Cassandra
Query
Processing
Realtime
O/P with
pagination
7. Populate the cassandra database
o Build cassandra keyspaces and column family
o Populate the database according to the data
provided.
Query input
o Queries are received using RESTFUL API calls.
o The REST query is parsed and converted into a
database query and then the database is
queried.
8. Displaying Results
o Details related to queries are retrieved
from the database.
o Error handling in case of invalid queries is
done.
o Pagination is done to handle large data.
One page is displayed at a time.
o UI is built using Jinja2 and HTML,
bootstrap.
9. List of APIs provided
◦ QueryColumnFamily
◦ CreateKeyspace
◦ DropKeyspace
◦ ListKeyspace
◦ CreateColumnFamily
◦ DropColumnFamily
◦ ListColumnFamily
10. Technologies Used
★ User Interface
○Jinja2
○Bootstrap, HTML.
★ REST APIs
○ Flask
★ Communication to cassandra
○Python Driver
○Cql Engine
11. Benefits for the stakeholders
Efficient handling of large data.
A simple User Interface for querying the data.
Using REST APIs makes querying simpler and
robust.
Provides a better interface for retrieved data
with pagination.