Skip to content

Web App to enable Masaajid to publish their Salaah times

License

Notifications You must be signed in to change notification settings

JUST-MuhammEd/SalaahTimesApp

 
 

Repository files navigation

Salaah Times App

A simple app to allow masaajid to

Bugs

  • Glitchy when changing pages
  • Does not load content if the home page was not loaded first
  • Seems to be having some trouble when cookies are disabled
  • PWA not caching network requests

To Do

[X] Create server to handle JSON times requests from React App

[X] Build frontend with React fot the masjid listing

[X] Build frontend with React fot the Salaah times for a specific masjid

[X] Cache network requests with PWA

[X] Configure build and deploy pipeline

[X] Use Redux to manage global state

[ ] Decide how long the |js|css|html| files should be cached

[ ] Refactor to an actual db (or at least provide a plugin that can be modified easily at a later stage)

[ ] Consider using a custom theme

[ ] Look at PWA notifications

[ ] Add announcement functionality

Deployment

I'm deploying the app as a Docker Container as this seems to be the only method that reliably works everywhere (every other way is too platform specific)

I'm using Heroku currently, and the deployment process is as follows:

  1. Build the docker image from the directory
docker build -t salaah-times .
  1. Log in to Heroku
heroku login
  1. Log in to the Container Registry
heroku container:login
  1. Push the image, note that the web refers to the runner and not the app name
heroku container:push web
  1. Deploy the image
heroku container:release web

Resources

Salaah times from https://www.salahtimes.com/south-africa/pretoria

Convert to JSON https://www.csvjson.com/csv2json

About

Web App to enable Masaajid to publish their Salaah times

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.6%
  • HTML 14.8%
  • CSS 3.8%
  • Dockerfile 1.4%
  • Shell 0.4%