Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.73 KB

README.md

File metadata and controls

58 lines (36 loc) · 1.73 KB

A simple public rest api to get the prayers times for cities in Morocco based on the official data form the Moroccan Ministry

Desciption

This is a small nodejs/express server that fetches data from a mongodb database.

Swagger screenshot

Data Source

The source of the data is the official website of the Moroccan Ministry, the code behind the scrapping process in available in this github repo, the result is saved to a json file and then imported to a monogo database.

Links

  • The api is freely hosted on heroku here and there is a swagger ui to document and test the API.

  • I Also made a small-really-ugly-just-working react application to consume this API:

react App

Coming soon (Stay tuned)

  • A mobile application

  • A google chrome extension

Road map

  • Add Validation for all inputs
  • Add Swagger
  • Add the optiion to return times as Datetime instead of strings (Loading ...)
  • Add docker support ( Coming soon)

Contribution

If you think this piece of code is anyhow useful, please feel free to contribute, star ⭐️⭐️ and share 🙏 🙏

How to to help you asked ? 🙏

  • Fork
  • Star and share the project so it reaches more people
  • Test and give your feedback
  • Correct the data
  • Provide translations
  • Help with the documentation
  • Help with UI/UX for the react app and the chrome extension

License

This project is under the MIT license.

Made With ❤️ in Ramadan