Skip to content

WeBuddhist connects users to Buddhist scriptures in various languages. Search a verse to explore its origins, interpretations, and related texts. Engage with the community by sharing insights and learning from others through sheets and topics.

Notifications You must be signed in to change notification settings

OpenPecha/WeBuddhist

Repository files navigation

WeBuddhist Study Platform

This is the frontend codebase for the Webuddhist study platform.

Prerequisites

  • Node.js (v20 or higher)
  • npm (v9 or higher)

Installation

  1. Clone the repository:

    git clone https://github.com/OpenPecha/WeBuddhist.git
  2. Navigate to Webuddhist directory:

    cd Webuddhist
  3. Install the dependencies:

    npm install

Development

  1. Start the development server:

    npm run dev

    The application will be available at http://localhost:5173

  2. Run the test cases:

    npm run test
  3. Run the test coverage:

    npm run coverage

Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run format - Run prettier formatting
  • npm run test - Run tests
  • npm run coverage - Generate test coverage report

Key Features

  • Internationalization support via tolgee
  • Authentication via Auth0
  • Component based Approach vis Shadcn
  • State management with React Query

Tech Stack

  • React 18
  • React Router DOM
  • Shadcn
  • Auth0
  • tolgee
  • React Query
  • Vite
  • Vitest

Docker Support

Build and run using Docker:

# Build the Docker image
docker build -t app-pecha-frontend .

# Run the container
docker run -p 80:80 app-pecha-frontend

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License.

About

WeBuddhist connects users to Buddhist scriptures in various languages. Search a verse to explore its origins, interpretations, and related texts. Engage with the community by sharing insights and learning from others through sheets and topics.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 10

Languages