Skip to content
iamkanishkaPublic

About

A cross-platform chemistry exploration app built with NativeScript + Angular, powered by the PubChem PUG REST and PUG View APIs. Search, explore, visualize, and save chemical compounds without requiring a backend.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Molecule Explorer

A cross-platform chemistry exploration app built with NativeScript + Angular, powered by the PubChem PUG REST and PUG View APIs. Search, explore, visualize, and save chemical compounds without requiring a backend.


Demo

Features

  • 🔍 Search compounds by:
    • Name
    • CID
    • Molecular Formula
    • SMILES
    • InChI
    • CAS Number
  • 📖 Detailed compound information
  • 🧪 Interactive 3D molecular viewer
  • 📊 Molecular properties
  • ⚠️ GHS safety information
  • 🧬 Similar compounds
  • ⭐ Offline favorites
  • 🕒 Search and viewing history
  • 🔄 Infinite scrolling & pull-to-refresh
  • 🌙 Theme support (Light / Dark / System)
  • 🔐 Optional Google Sign-In

Tech Stack

  • NativeScript
  • Angular
  • TypeScript
  • Angular Signals
  • RxJS
  • PubChem PUG REST API
  • PubChem PUG View API
  • 3Dmol.js
  • Google Sign-In

Architecture

src/app/
├── core/
│   ├── constants/
│   ├── guards/
│   ├── models/
│   ├── services/
│   └── utils/
├── shared/
├── state/
└── features/
    ├── auth/
    ├── home/
    ├── search/
    ├── favorites/
    ├── history/
    ├── settings/
    ├── compound-details/
    └── tabs/

Getting Started

Prerequisites

  • Node.js
  • NativeScript CLI
  • Android Studio or Xcode

Installation

npm install

Run

ns run android

or

ns run ios

App Features

Home

  • Molecule of the Day
  • Quick Actions
  • Statistics
  • Recent activity

Search

  • Search by multiple compound identifiers
  • Debounced search
  • Infinite scrolling
  • Pull-to-refresh
  • Recent searches

Compound Details

  • Molecular information
  • 2D Structure
  • Interactive 3D Viewer
  • Physical & chemical properties
  • GHS Safety
  • Similar compounds
  • References
  • Favorite & Share actions

Favorites

  • Offline persistence
  • Search & sort compounds

History

  • Viewed compounds
  • Search history
  • Clear history

Settings

  • Theme preferences
  • Cache management
  • Privacy Policy
  • Google Sign-In

Highlights

  • NativeScript + Angular architecture
  • Lazy-loaded feature modules
  • Signal-based state management
  • Optimized HTTP caching
  • Offline persistence
  • Cross-platform Android & iOS
  • Modular component architecture
  • Backend-free application

APIs

  • PubChem PUG REST API
  • PubChem PUG View API

License

This project is licensed under the MIT License.

About

A cross-platform chemistry exploration app built with NativeScript + Angular, powered by the PubChem PUG REST and PUG View APIs. Search, explore, visualize, and save chemical compounds without requiring a backend.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages