cjchirag7 / selection-test-c3g

Selection Tests for project 'Ingesting the Canadian Common CV'. Built with the dataset of posts made on the bioinformatics.stackexchange.com website (in 2020), this is a simple python web application to serve this information with a few filtering options.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selection Tests for project 'Ingesting the Canadian Common CV'

  1. The data was analysed in a jupyter notebook data-analysis.ipynb

  2. The data was ingested to a sqlite database by parsing the XML Data and inserting the records accordingly to the database using python. The code for this lies in ingest.py

The file can be run to ingest data from any XML File having a similar format to a sqlite database using the following Command line arguements :

python3 ingest.py <XML-File-Location> <DatabaseFile-Name>

In case no arguements are provided, the default arguements would be used. Currently, the data of posts has been ingested in bio-info.db file.

  1. The API was made in Flask.

i. Enter the following commands once in terminal to create a virtual environment and install the dependencies :

pipenv shell
pipenv install -r requirements.txt
virtualenv run

ii. Enter the following command to run the server :-

env FLASK_ENV=development FLASK_APP=app.py flask run

iii. The API documentation can be viewed here

  1. The frontend was made in React.

i. Enter the following commands to move to 'frontend' directory and install the dependencies :

cd frontend
npm install

ii. To run the frontend in browser, enter the following command :

npm start

Screenshots of the web application

home page search page post detail page post detail page

About

Selection Tests for project 'Ingesting the Canadian Common CV'. Built with the dataset of posts made on the bioinformatics.stackexchange.com website (in 2020), this is a simple python web application to serve this information with a few filtering options.


Languages

Language:Python 99.1%Language:JavaScript 0.6%Language:Shell 0.1%Language:Jupyter Notebook 0.1%Language:HTML 0.0%Language:PowerShell 0.0%Language:CSS 0.0%