Duration: 3 Week Sprint
FlameData allows users to generate chemical data for combustion modelling. It is specifically focused on generating and storing 3D structures for molecules (equilibrium structures) and reactions (transition state structures).
The following software is required to run this app locally (recommended):
- Populate a new database using the queries in
database.sql
. - Define the following environment variables to enable a database connection:
FLASK_APP=flame_data/_app.py
SECRET_KEY=<your secret key>
DB_USER=<your postgres username>
DB_PASSWORD=<your postgres password>
DB_HOST=<use localhost if running locally>
DB_PORT=<probably 5432>
DB_NAME=<the databse name you chose in step 1>
- Run
poetry install
in this directory, thenflask run
. - Run
npm install
in./flame-data-frontend
, thennpm run dev
in that same directory. - That last command will give you a link to open the app in the browser.
- Register for an account.
- Registered users automatically get a "My Data" collection, but you can create other named collections as well using the menu on the right.
- You can search for species/reactions using their formulas.
- Selecting species/reactions will cause a button to appear to add them to the currently selected collection.
- Clicking on any of the species/reaction tiles will allow you to see 3D structures for it it, along with its chemical identifiers.
- If any species/reactions are missing from your collection, you can add them by navigating to the "Submit" page using the dropdown menu.
- Once you are happy with a collection, you can click the "Download" button to get all of the data in JSON format.
Thanks to Prime Digital Academy who equipped and helped me to make this application a reality.