Skip to content

πŸ§ͺ Interactive Periodic Table App built with Vue 3, showcasing reactive components, state management with Pinia, comprehensive testing with Jest & Playwright, and deployed to GitHub Pages using GitHub Actions. πŸš€

License

Notifications You must be signed in to change notification settings

Jagoda11/Periodic-Table-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Periodic Table App πŸ§ͺ

Build Status GitHub Pages License GitHub Issues Last Commit Vite Vue Build Status

This project is an interactive periodic table of elements, built using Vue 3 πŸ› οΈ. It utilizes modern web technologies and tools to provide a rich user experience with reactive components and state management.

Screenshot of the app

Deployment πŸš€

The Periodic Table App is deployed and available live on GitHub Pages. You can interact with the live application by visiting the following URL:

Periodic Table App Live Demo

This deployment showcases the latest stable version of the app. Feel free to explore the interactive periodic table and discover more about the elements!

For details on how this app is deployed using TypeScript, GitHub Actions, and GitHub Pages, check out my Medium article: Deploying a Vue 3 App with Vite, TypeScript, and GitHub Actions to GitHub Pages

Technologies and Tools πŸ› οΈ

  • Core:

    • Vue 3 πŸ–– for the frontend framework.
    • Pinia πŸ“¦ for state management.
    • Vue Router 🚦 for SPA routing.
  • Styling:

    • Bootstrap 🎨 for responsive UI components and layout.
  • Development:

    • Vite ⚑ as the build tool and development server.
  • Testing:

    • Jest πŸƒ for unit testing, ensuring that individual components work as expected.
    • Playwright 🎭 for end-to-end testing, simulating user interactions and verifying the app's behavior in a browser environment.
    • Lighthouse πŸŒ… for performance and quality auditing, providing insights into how the app can be optimized for speed, accessibility, and SEO.
  • Code Quality:

    • ESLint 🧹 for linting.
    • Prettier 🎨 for code formatting.
  • TypeScript:

    • Used throughout the project for type safety πŸ›‘οΈ.
  • CI/CD:

    • GitHub Actions πŸš€ for automating linting, building, and test runs.
  • Utilities:

    • Husky 🐢 for pre-commit hooks.
    • Lint-Staged 🚩 for staged files linting.

Code of Conduct πŸ“œ

We expect all contributors to adhere to our Code of Conduct when participating in our project. Please review it before getting involved.

Getting Started with the Periodic Table App πŸš€

Follow these steps to set up the project on your local machine and get started with development.

Initial Setup

  1. Clone the repository:

    Get the code on your local machine by cloning the repository and then navigate to the project directory:

    git clone https://github.com/Jagoda11/periodic-table-app.git
    cd periodic-table-app
  2. Install dependencies:

    Install the necessary project dependencies to get started with development:

    npm install

Key Scripts Explained

Here's a breakdown of the main npm scripts you'll use to develop, test, and audit the Periodic Table App:

  • Local Development Server:

    • npm run dev: 🌐 Starts the Vite development server for local development at http://localhost:3000/Periodic-Table-App/. Ideal for your day-to-day development activities.
  • Building for Production:

    • npm run build: πŸ—οΈ Compiles and minifies the application for production, ensuring optimal performance.
  • Running Unit Tests:

    • npm run test: πŸ§ͺ Executes the Jest test suites to validate the functionality of individual components.
  • Performing Lighthouse Audits:

    • npm run audit: πŸ” Conducts a Lighthouse audit on your local server at http://localhost:3000, offering insights into the app's performance and quality.
  • End-to-End Testing:

    • npm run test:e2e:concurrently: πŸ€– Starts a separate server for end-to-end testing on http://localhost:3001 and runs Playwright tests. This ensures a clean, isolated environment for accurate testing.

By following these instructions and using the scripts provided, you'll be able to effectively develop, test, and optimize your Periodic Table App. Happy coding! πŸŽ‰

Additional Resources πŸ“š

  • License πŸ“„: For more information on how you can use this project, see the LICENSE.md file.
  • Collaboration πŸ‘₯: If you're interested in contributing to the project, please review our CONTRIBUTION.md guide for details on how to get started.

Acknowledgments πŸ™

This project utilizes various open-source libraries and frameworks. We extend our gratitude πŸ™Œ to the contributors of these projects.