Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e40409f
Add Laxmangarh city data to database
JaiSwarup Jul 23, 2025
e6287bd
Change navbar and footer background for better look, update navbar fo…
Ishita-Agrawal05 Jul 23, 2025
dfd8eac
fixed the CityGuideDb.sql file
love-mishra Jul 23, 2025
857277d
fixed the CityGuideDb.sql
love-mishra Jul 23, 2025
7e99f56
Added LICENSE.md
MannemSumanaSri Jul 24, 2025
3c911d5
feat: Add MIT License and update README
MannemSumanaSri Jul 24, 2025
d7e13a3
🔧 Updated: Modified features and UI changes
komalkhatod1105 Jul 29, 2025
6f22b34
✅ Resolved merge conflicts
komalkhatod1105 Jul 29, 2025
4be7484
Update README.md
komalkhatod1105 Jul 3, 2025
266492f
Update README.md
komalkhatod1105 Jul 3, 2025
8f9717f
Meaningful new message without Resolved merge conflicts
komalkhatod1105 Jul 29, 2025
b36f849
Merge pull request #16 from MannemSumanaSri/main
komalkhatod1105 Jul 29, 2025
a8cdbfd
Merge pull request #13 from love-mishra/main
komalkhatod1105 Jul 29, 2025
25d7044
Merge pull request #12 from Ishita-Agrawal05/main
komalkhatod1105 Jul 29, 2025
690e125
Merge branch 'main' into add-laxmangarh-data
komalkhatod1105 Jul 29, 2025
cae284a
Merge pull request #6 from JaiSwarup/add-laxmangarh-data
komalkhatod1105 Jul 29, 2025
fc46dd6
Add new files
AadyaAgarwal01 Aug 2, 2025
1250585
Add new files
AadyaAgarwal01 Aug 2, 2025
8e5a242
Merge pull request #34 from AadyaAgarwal01/main
komalkhatod1105 Aug 4, 2025
b630c61
Create Implement Authentication System
Jai-76 Aug 4, 2025
252ff7b
Create CONTRIBUTING.md
Kaviyadharshini1211 Aug 4, 2025
29d3e14
Create CODE_OF_CONDUCT.md
Kaviyadharshini1211 Aug 4, 2025
dc8cf28
Merge pull request #38 from Kaviyadharshini1211/main
komalkhatod1105 Aug 4, 2025
ac3cfe0
Merge pull request #36 from Jai-76/patch-1
komalkhatod1105 Aug 4, 2025
b6b870c
Ui improve and addition of cities.
sachi070 Aug 6, 2025
6043327
Ui improve and addition of cities
sachi070 Aug 6, 2025
0a13739
Merge branch 'main' of https://github.com/sachi070/One-Stop-Guide int…
sachi070 Aug 6, 2025
9bfe972
Merge pull request #41 from sachi070/UI_improve
komalkhatod1105 Aug 8, 2025
9a6947f
Added city cards for Kolkata, Burdwan, and Aligarh
komalkhatod1105 Aug 15, 2025
2288ee4
Add: added new city shimla.html
codersharsh Oct 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
Binary file added Aligarh.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Burdwan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# 📜 Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a respectful, harassment-free experience for everyone. We are committed to building a welcoming environment for people of all races, ethnicities, gender identities, sexual orientations, disabilities, mental health statuses, socioeconomic backgrounds, ages, physical appearances, body sizes, religions, or technical abilities.

We pledge to act and interact in ways that contribute to an open, inclusive, and healthy community.

---

## Our Standards

Examples of behavior that contributes to a positive environment include:

- ✅ Being respectful and kind to others
- ✅ Using inclusive and welcoming language
- ✅ Gracefully accepting constructive feedback
- ✅ Focusing on what is best for the community
- ✅ Showing empathy and patience toward others

Examples of unacceptable behavior include:

- ❌ Discrimination or insulting comments
- ❌ Trolling, threats, or personal attacks
- ❌ Harassment in any form (public or private)
- ❌ Publishing others’ private information without consent
- ❌ Unwanted sexual attention or advances

---

## Enforcement Responsibilities

Project maintainers are responsible for:

- Clarifying the standards of acceptable behavior
- Taking appropriate corrective action in response to any behavior they deem inappropriate, threatening, offensive, or harmful
- Ensuring fair and consistent enforcement of this Code of Conduct

---

## Scope

This Code of Conduct applies within:

- All project spaces (e.g., repo discussions, issues, pull requests)
- All project-related communication (e.g., Discord, email, online/offline events)

---

## Reporting

If you experience or witness unacceptable behavior, please report it by emailing the maintainers:



All reports will be handled confidentially and reviewed promptly.

---

## Enforcement Guidelines

Maintainers will follow a tiered approach:

1. **Warning** – A private warning for first offenses.
2. **Temporary Ban** – Removal from the community for a period of time.
3. **Permanent Ban** – Permanent removal for repeated or severe violations.

---

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1.
[homepage]: https://www.contributor-covenant.org

---

## 🙌 Let’s work together to make this community welcoming for everyone.
105 changes: 105 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# 🛠️ Contributing to One-Stop-Guide

Thank you for considering contributing to **One-Stop-Guide** — a helpful city guide platform. This document outlines how you can contribute, coding standards, and the contribution process.

---

## 📁 Project Structure

- `*.html` – Static city guide pages (e.g., `ajmer.html`, `delhi.html`)
- `*.php` – Backend scripts (e.g., `dbconnect.php`, `city.php`)
- `CityGuideDb.sql` – SQL file to set up the database
- `README.md` – Project overview and setup instructions
- `LICENSE.md` – License file

---

## 🚀 Getting Started

### 1. Fork & Clone

```bash
git clone https://github.com/YOUR_USERNAME/One-Stop-Guide.git
cd One-Stop-Guide
```

### 2. Set Up Locally

- Install [XAMPP](https://www.apachefriends.org/index.html) or any LAMP stack
- Move the project to the `htdocs` directory
- Import `CityGuideDb.sql` into phpMyAdmin
- Open the app in your browser:
`http://localhost/One-Stop-Guide/index.html`

---

## ✅ How You Can Contribute

- Improve UI/UX of city pages
- Add new city guides
- Refactor or enhance backend PHP scripts
- Fix bugs or broken links
- Improve accessibility and responsiveness
- Help with documentation (README, guides)

---

## 🧠 Code Guidelines

- Write clean, readable, and commented code
- Follow HTML5 and PHP conventions
- Use semantic HTML and proper indentation
- Sanitize inputs and follow secure DB practices
- Keep UI consistent with existing pages

---

## 🧪 Testing Checklist

- ✅ HTML loads without errors in the browser
- ✅ Pages pass W3C validation
- ✅ PHP scripts connect to the database successfully
- ✅ Forms and links function as expected
- ✅ Design is responsive on different screen sizes

---

## 🔁 Submitting a Pull Request

1. Create a new branch:

```bash
git checkout -b feature/your-feature-name
```

2. Make your changes and commit:

```bash
git commit -m "Add: Description of what you changed"
```

3. Push and open a PR:

```bash
git push origin feature/your-feature-name
```

4. Open a Pull Request and include:
- ✅ What you did
- ✅ Why it matters
- ✅ How to test it

---

## 👥 Community Standards

- Be respectful and inclusive
- Provide helpful feedback during reviews
- Submit clean and tested code
- Collaborate to improve the project together

---

## 💬 Questions?

Feel free to [open an issue](https://github.com/YOUR_USERNAME/One-Stop-Guide/issues) for help or guidance.
69 changes: 67 additions & 2 deletions CityGuideDb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ CREATE TABLE city_data (
city_name VARCHAR(50),
place_name VARCHAR(100),
place_type VARCHAR(50),
description TEXT
description TEXT,
INDEX idx_city (city_name),
INDEX idx_place_type (place_type)
);

-- Ajmer
INSERT INTO city_data (city_name, place_name, place_type, description) VALUES
('Ajmer', 'Ajmer Sharif Dargah', 'Place', 'A famous Sufi shrine.'),
('Ajmer', 'Ana Sagar Lake', 'Place', 'Scenic artificial lake.'),
('Ajmer', 'JLN Hospital', 'Hospital', 'Major hospital in Ajmer.'),
('Ajmer', 'Mayo College', 'College', 'One of India\'s oldest public schools.'),
('Ajmer', 'Mayo College', 'College', 'One of India\'s ' oldest public schools.'),
('Ajmer', 'Coffee Day', 'Cafe', 'Popular café for youth.');

-- Kota
Expand Down Expand Up @@ -66,3 +68,66 @@ INSERT INTO city_data (city_name, place_name, place_type, description) VALUES
('Kishangarh', 'JLN College', 'College', 'Oldest college in city.'),
('Kishangarh', 'ABC Public School', 'School', 'Popular private school.'),
('Kishangarh', 'KGC Café', 'Cafe', 'Stylish café for students.');

-- Laxmangarh
INSERT INTO city_data (city_name, place_name, place_type, description) VALUES
('Laxmangarh', 'Laxmangarh Fort', 'Place', 'Historical fort situated atop a hill.'),
('Laxmangarh', 'CHC Laxmangarh', 'Hospital', 'Community Health Center serving the town.'),
('Laxmangarh', 'Mody University', 'College', 'Premier women''s university with a large campus.'),
('Laxmangarh', 'Tagore Public School', 'School', 'English medium co-ed school.'),
('Laxmangarh', 'The Brew Villa Café', 'Cafe', 'Trendy student-friendly café near university.');

-- Burdwan (Bardhaman)
INSERT INTO city_data (state_name, city_name, place_name, place_type, description) VALUES
('West Bengal', 'Burdwan', '108 Shiva Temple', 'Place', 'Historic temple complex with 108 shrines.'),
('West Bengal', 'Burdwan', 'Burdwan Medical College', 'Hospital', 'Major government medical hospital.'),
('West Bengal', 'Burdwan', 'University of Burdwan', 'College', 'Renowned state university.'),
('West Bengal', 'Burdwan', 'St. Xavier''s School', 'School', 'Prestigious English medium school.'),
('West Bengal', 'Burdwan', 'Cafe Royal', 'Cafe', 'Popular youth café in city center.');

-- Kolkata
INSERT INTO city_data (state_name, city_name, place_name, place_type, description) VALUES
('West Bengal', 'Kolkata', 'Victoria Memorial', 'Place', 'Iconic marble museum and garden.'),
('West Bengal', 'Kolkata', 'Apollo Gleneagles Hospital', 'Hospital', 'Famous multi-speciality hospital.'),
('West Bengal', 'Kolkata', 'Jadavpur University', 'College', 'Leading university in India.'),
('West Bengal', 'Kolkata', 'La Martiniere School', 'School', 'Historic and elite private school.'),
('West Bengal', 'Kolkata', 'Flurys', 'Cafe', 'Legendary tearoom and bakery.');

-- Aligarh
INSERT INTO city_data (state_name, city_name, place_name, place_type, description) VALUES
('Uttar Pradesh', 'Aligarh', 'Aligarh Fort', 'Place', 'Historic fort built in the 16th century.'),
('Uttar Pradesh', 'Aligarh', 'JNMCH Hospital', 'Hospital', 'Jawaharlal Nehru Medical College Hospital.'),
('Uttar Pradesh', 'Aligarh', 'Aligarh Muslim University', 'College', 'World-famous central university.'),
('Uttar Pradesh', 'Aligarh', 'Our Lady of Fatima School', 'School', 'Reputed convent school.'),
('Uttar Pradesh', 'Aligarh', 'Cafe Coffee Day', 'Cafe', 'Youth hangout near AMU.');

-- Pune
INSERT INTO city_data (state_name, city_name, place_name, place_type, description) VALUES
('Maharashtra', 'Pune', 'Shaniwar Wada', 'Place', 'Historic fort palace built in 1732.'),
('Maharashtra', 'Pune', 'Ruby Hall Clinic', 'Hospital', 'Well-known multi-speciality hospital.'),
('Maharashtra', 'Pune', 'Savitribai Phule Pune University', 'College', 'One of India''s premier universities.'),
('Maharashtra', 'Pune', 'St. Mary''s School', 'School', 'Prestigious English medium school.'),
('Maharashtra', 'Pune', 'Vaishali Restaurant', 'Cafe', 'Iconic café popular with students and professionals.');

-- Jaipur
INSERT INTO city_data (state_name, city_name, place_name, place_type, description) VALUES
('Rajasthan', 'Jaipur', 'Hawa Mahal', 'Place', 'Iconic pink sandstone palace with 953 windows.'),
('Rajasthan', 'Jaipur', 'SMS Hospital', 'Hospital', 'Sawai Man Singh Hospital, largest government hospital in Rajasthan.'),
('Rajasthan', 'Jaipur', 'University of Rajasthan', 'College', 'Oldest and prominent university in Jaipur.'),
('Rajasthan', 'Jaipur', 'Maharani Gayatri Devi Girls'' School', 'School', 'Renowned all-girls school with rich history.'),
('Rajasthan', 'Jaipur', 'Tapri Central', 'Cafe', 'Trendy café famous for tea and snacks with rooftop view.');


SELECT * FROM city_data;

SELECT * FROM city_data
WHERE city_name = 'Jaipur';

SELECT * FROM city_data
WHERE place_name LIKE '%Fort%';

-- Sample query: Get all cafes in Kolkata
SELECT place_name, description
FROM city_data
WHERE city_name = 'Kolkata' AND place_type = 'Cafe';

Loading