Skip to content

Mark-10 #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file added 1.png
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 2.png
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 3.png
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 4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
153 changes: 130 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,139 @@
# Code-with-Google-Maps-2023 - Hack2skill
# TRIPN
<h1 align="center">
<br>
<img src="logo.png" alt="Markdownify" width="400">
<br>
TRIPN
<br>
</h1>

Welcome to the official repository for the Code-with-Google-Maps-2023 organized by Hack2skill!
<h3 align="center">Smart plan maker by the user choice!!</h3>

## Getting Started

To get started with the Code-with-Google-Maps-2023 repository, follow these steps:
## About

### Submission Instruction:
1. Fork this repository
2. Create a folder with your Team Name
3. Upload all the code and necessary files in the created folder
4. Upload a **README.md** file in your folder with the below mentioned informations.
5. Generate a Pull Request with your Team Name. (Example: submission-XYZ_team)
This project was created for </Code> with Maps Hackathon

### README.md must consist of the following information:
## Video Presentation:

#### Team Name -
#### Problem Statement -
#### Team Leader Email -
- [Youtube](https://youtu.be/lt8JlCf0XDs)

### A Brief of the Prototype:
This section must include UML Diagrams and prototype description
## Apk Download:

- [Tripn](https://drive.google.com/file/d/1HwsJDHB45no_icQoOCBjdI-Kq6y2Fsdp/view?usp=drive_link)
## Team Name:
Mark-10
## Team Members:

- [Goutham C Arun](https://github.com/GouthamCArun)
- [Alfred Jimmy](https://github.com/alffy007)
- [Athul Babu](https://github.com/ATHULB04)

## Team Leader Email

[email protected]

<p align="center">
<a href="#problem-helpnow-solves">Problem Statement</a> •
<a href="#solution">Solution</a> •
<a href="#tech-stacks-used">Tech-Stacks used</a> •
<a href="#backend-repo">Backend Repo</a> •

</p>
<div align="center">

### Tech Stack:
List Down all technologies used to Build the prototype

<img src="1.png" alt="Screenshot" width="33%" />
</div>


## The Problem We Solve: Time is precious; let's automate your adventures, no travel time calculations needed..
"Planning outings is time-consuming, and people often face the challenge of choosing destinations and calculating travel times. We need an AI solution to recommend suitable places to visit based on a user's available time and preferences, simplifying planning and enabling users to maximize their leisure time."

## Solution: Elevate your outings, make traveling easy, and reclaim time for unforgettable adventures.
Our product will have the following features:

### 1. Plan trip base on user need
-Trip Planning: The core feature allows users to plan their trips based on their preferences and needs. This feature will consider factors like available time, interests, and location.

### 2. Different Rrestaurants and other services are shown in the plans.
- The app will provide a diverse range of recommendations, including restaurants and other services, to enhance the user's travel experience.


### 3.Include brief descriptions with each recommendation to give users more information about the suggested places, helping them make informed decisions.
- To help users make informed decisions, the app will include brief descriptions of the suggested places. These descriptions will offer valuable information about the recommended locations, making it easier for users to choose their destinations.

Tripn Descriptions:

An AI-driven service app for generates personalized trip plans, showcasing various restaurants and services, while also providing informative place descriptions for user convenience.

### Railway for Hosting
Furthermore, for hosting our project, we chose Railway. Railway is a cloud platform that simplifies the deployment and management of web applications. By utilizing Railway for hosting, we were able to easily deploy our project and make it accessible to users over the internet. Railway's user-friendly interface and seamless setup process allowed us to integrate our project with their platform effortlessly. With Railway, we benefit from reliable hosting infrastructure and automatic scaling, ensuring that our application can handle incoming traffic effectively.



<h3>This is How it works</h3>
<br>
</div>
<div style="display:flex;" align="center">
<img src="flow.png" alt="Screenshot" width="33%">
<br>
<h3>Google APi Key Used/h3>
<br>
</div>
<div style="display:flex;" align="center">
<img src="api.png" alt="Screenshot" width="33%">
<br>
</div>
<br>
<h3>ScreenShots of our app</h3>
<div style="display:flex; gap:"5px";" align="center">
<img src="2.png" alt="Screenshot" width="33%">
<img src="3.png" alt="Screenshot" width="33%">
<img src="4.png" alt="Screenshot" width="33%">
</div>



### TECH STACKS USED

<h3>
1. Flutter
<br>
2.ChatGPT with LangChain
<br>
4. Flask Rest API (Backend for API calls)
<br>
5. Railway
<br>

### FUTURE SCOPE

*Travel Made Simple:*
With TripN, just tell us what you need, and we'll plan and book everything – from transport to accommodation. Your perfect trip, hassle-free.
Meet TripN, your virtual travel companion. Just like a trusted friend, it offers guidance, advice, and information for a stress-free and enjoyable journey.

### Step-by-Step Code Execution Instructions:
This Section must contain a set of instructions required to clone and run the prototype so that it can be tested and deeply analyzed

### Future Scope:
Write about the scalability and futuristic aspects of the prototype developed
## backend
1. Create a virtual environment:
```bash
cd backend
python -m venv env
source env/Scripts/./Activate.ps1
```

2. Install the dependencies
```bash
pip install -r requirements.txt

3. Start the development server:
```bash
python main.py

4. Access the API in your browser at http://127.0.0.1:6000/text.
```bash
example of post request:
{"text":"I have no office today where can I go from 8 am to 5 pm. I wanna chill",
"address": "Govt.Model Engineering College, Thrikakara",
"latitude": "10.02817195",
"longitude": "76.32843611331214"}

Binary file added api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
159 changes: 159 additions & 0 deletions backend-flask/map/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@

# Created by https://www.toptal.com/developers/gitignore/api/python
# Edit at https://www.toptal.com/developers/gitignore?templates=python

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coveage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytestdebug.log

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
doc/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
pythonenv*

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# profiling data
.prof

# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
.Python
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
.venv
pip-selfcheck.json


# End of https://www.toptal.com/developers/gitignore/api/python
1 change: 1 addition & 0 deletions backend-flask/map/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn main:app
Loading