halfryde's Introduction
# Public Transport Database Project This project fetches and manages bus arrival information from the LTA DataMall API and stores it in a SQLITE/MongoDB database. ## Features - **Bus Arrival Information:** - Fetch real-time bus arrival information from the LTA DataMall API. - Store the information in a MongoDB database, organized by service number, operation status, arrival status, estimated arrival time, and load information. - **User Interaction:** - Allow users to add and delete favorite bus stops. - Display a list of favorite bus stops. - Fetch bus arrival information based on user input. ## Getting Started ### Prerequisites - Python 3.x - SQLITE/MongoDB installed and running - Required Python packages (install using `pip install -r requirements.txt`) ### Installation 1. Clone the repository: ```bash git clone https://github.com/winter-client/INF2003_DB.git Navigate to project directory: cd INF2003_DB Install dependencies: pip install -r requirements.txt Run script: python sql.py/nosql.py ============================= To remove file from Git repo ============================= 1.Remove the File Locally: git rm file_to_remove.txt # or, to keep it in the working directory git rm --cached file_to_remove.txt 2. Commit the Removal: git commit -m "Remove file_to_remove.txt" 3. Push the Changes: git push origin master Additional Notes: If you've already committed the file, removing it using git rm will mark it for deletion in the next commit. The --cached option in git rm --cached only removes the file from the staging area (index) and keeps it in your working directory. If you don't use --cached, it will remove the file from both the working directory and the staging area. If the file is already committed, removing it locally won't automatically remove it from a remote repository. You need to push the commit that removes the file to the remote repository. Be cautious when removing files, especially in shared repositories. Communicate with your collaborators to avoid potential conflicts.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.