Skip to content

canbax/vaktiapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

154 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vakti App (Türkçe)

Build Statements GitHub license

Free, ad-free, open-source, and sleek Muslim Praying Times app. Available on Vakti App.com. Uses https://github.com/canbax/namaz-vakti-api for finding places. In other cases, it doesn't uses the Internet.

Features

No-internet needed

Once a place is selected, it doesn't need internet to bring times data.

Share times

Share the link for times. So your friends could see the times with one click. You can also embed times widget to your own website.

Prayer times for Ankara, İstanbul, İzmir

Hijri Calender

You can see religious days from the menu item "Religious Days".

Hijri calendar calculations are without using any third-party application. The logic is inside HijriDate.ts file

Various Customizations

  • Multiple themes (Dark or Light)
  • Change language (Türkçe, English, Deutsch, Italian, Pусский, Española, فارسی, Français, Chinese, عربى, Indonesia, Kazakh, Korean, Kyrgyz, Malay)
  • Show or hide hijri date
  • Change zoom level
  • Multiple date formats
  • Multiple time formats
  • Multiple times calculation methods (Turkiye default)

Project Setup for Developers

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test

Run End-to-End Tests with Playwright

E2E test will run only in local. First you need to serve the API from https://github.com/canbax/namaz-vakti-api using command ENABLE_CORS=1 npm run dev. And then run tests locally VITE_API_URL=http://localhost:3000/api/ npm run test-e2e. E2E tests uses local to not hit API rate limits.

# Install browsers for the first run
npx playwright install

# When testing on CI, must build the project first
npm run build


# Runs the end-to-end tests
npm run test-e2e
# Runs the tests only on Chromium
npm run test-e2e -- --project=chromium
# Runs the tests of a specific file
npm run test-e2e share
# Runs the tests in debug mode
npm run test-e2e -- --debug

Lint with ESLint

npm run lint

Sync mobile apps

npm run sync-apps