0.0.10 • Published 4 years ago
structure-search v0.0.10
Crystal Structure Search Application
Website: Crystal Structure Search Application for Desktop (Windows, Linux, MacOS): Download
Include Packages:
Containers:
- @chemistry/cod-to-gcs-sync - Synchronize COD with Google Cloud Storage
- @chemistry/gcp-api-endpoints - API Endpoint that execute cloud functions
- @chemistry/crystallography-web - Application Web Container
Functions:
- @chemistry/cod-sync-start-instance - Start VM for COD Synchronization execution (labels.codsync eq true)
- @chemistry/cod-sync-stop-instance - Stop VM for what finished Synchronization execution
- @chemistry/gcs-to-database - Read CIF file from storage and save to database;
- @chemistry/api-get-structures-list - API Get Structures List
- @chemistry/api-releases-get - API Get Last Application Releases
Libraries:
- @chemistry/common-functions - Common code shared across cloud function
- @chemistry/cif-2-json - Library for conversion of CIF to JSON
Technical description:
- MonoRepo build with lerna
- Auto Release Script
- Typescript 3.7
- Isomorphic (for Node & browsers)
- Auto tests with JEST
- ~100% code coverage
Development Quick Start
npm install
npm run bootstrap
npm run build
Delivery
Libraries
- Released on tag push
git tag v0.1.0 git push --tags
Cloud functions
- Continuous deployment to Google Cloud on push to master
Containers
- Continuous push to Google Cloud Artifactory
Commands:
- Run unit tests:
npm run test
- Start TDD flow:
npm run tdd
- Run linter verification:
npm run lint
- Run linter verification & fix:
npm run lintfix
- Build project:
npm run build
License
This project is licensed under the MIT license, Copyright (c) 2020 Volodymyr Vreshch. For more information see LICENSE.md.