Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/razzerde/php-bahnapi-angularapp

📡 This project shows you how to work with APIs (Bahn API as example) using Angular and PHP.
https://github.com/razzerde/php-bahnapi-angularapp

angular api php tailwind tailwindcss

Last synced: 1 day ago
JSON representation

📡 This project shows you how to work with APIs (Bahn API as example) using Angular and PHP.

Awesome Lists containing this project

README

        


📡 PHP-BahnAPI-AngularAPI ~ Learn to work with APIs



php version


php version


discord server



## 🗯️ Introduction
› This project is centered around the development of a user-friendly website. The website was crafted using HTML, CSS, JavaScript, and PHP, which are some of the most powerful and widely-used languages in web development.

🤔 - The primary function of this website is to have a small website/web app at the end where a user can display the arrival and departure times of a desired station. It should also show whether there is an elevator at the desired station.

› This project was developed by Yannic Drews & Yanic Döpner for a project work in their training as IT specialists for application development - some parts of the project are on german because that's the language that was specified for the project work.

## 🧮 Features
› `PHP-BahnAPI-AngularApp` provides a set of fundamental features that can assist you in handling APIs in general in PHP, thereby facilitating your learning process on how to manage them effectively. In our small project we used the **[BahnAPI](https://developers.deutschebahn.com/db-api-marketplace/apis/frontpage)** as example.

📢 › This project is designed to be compatible down to PHP 5.6 and has been tested on both XAMPP and IntelliJ’s built-in web server.

It supports following features:


  • 🎨 Optimized Tailwind-CSS: We used Tailwind-CSS to reduce the amount of loaded CSS and to keep things responsive.



## 🔨 Installation
› Before you can start exploring our small website for learning purposes, there are a few preparations you need to make.

💡 › You will need a few registered Plans from the **[BahnAPI](https://developers.deutschebahn.com/db-api-marketplace/apis/frontpage)**:

- **[Free Timetables](https://developers.deutschebahn.com/db-api-marketplace/apis/product/26497)**
- **[StaDa - Station Data](https://developers.deutschebahn.com/db-api-marketplace/apis/product/145141)**
- **[FaSta - Station Facilities Status](https://developers.deutschebahn.com/db-api-marketplace/apis/product/130978)**

Then, follow these steps to ensure everything runs smoothly:
1. Create an application on the DB API Marketplace & add the plans above to it.
2. Set your correct API login credentials in `assets/php/main.php`
3. Start the Webserver and have FUN!