Skip to content

HotSoupRepos/HotSoup-frontend

Repository files navigation

Welcome to HotSoup!

HotSoup is a free, open source kitchen soup location app! It is free and downloadable across both iOS and Android platforms. It helps users to find local hot soup kitchens with 1-3 clicks, by allowing the user to either search by their location or to enter an address. The goal is to help people who are food insecure find their next free, hot meal easier and faster. With accessibility and ease of use in mind, we aim to help as many folks get fed as possible easier and with comapssion. HotSOup is available as a mobile format with desktop/web coming soon!

This project is current run exclusively by a wonderful crew of 100% volunteers, please take a look at our amazing Discord server where all the teams are working together to coordinate the features and deliverables - you might be amazed to see the level of work these folks are producing, especially since a lot of us are new to the software industry!!!

https://discord.gg/3H9CFN3Wqd

HotSoup is divided into 2 parts

HotSoup has 4 main UX types:

  • Screens that the user can navigate to freely or is navigated to automatically depending on which user flow the user is currently partaking in.

  • Tabs and Stack Navigators to allow the user to enter/exit/control their desired user-flow movement within the app to customize their user experience at any time.

  • Integrated Map API to render the search results in a commonly used and easy to understand format to allow the user to see where on the map the results are. The map is interactive, can be clicked on to generate directions to a map location, pinchable to zoom in/out, and also has all of the other standard types of interactivity integrated map APIs have.

  • Search Results List with Expanded Info Pop-Up to allow the user to view the search results as a list, with a button that triggers a pop up to allow the user to not need to navigate anywhere else, which gives the user to option to expand certain data points, such as location hours, to allow user to learn more about each individual seach result.

HotSoup has 3 pages

  • Landing Page contains a "search near me" button for user to search for local soup kitchens by their location and an input field to allow them to input their address - can be done by city, zipcode, or entire address - these search params query the database and then automatically send the user to the results page showing the

  • Search Result Page contains the integrated map API with the search results list, which contains the pop-up button that allows the user to see more inforamtion per search result

  • About Page contains all the info about the app, as well as more information about the project itself, which covers the group of volunteers that have put the app together.

More Information In the Readme Folder!

Please navigate to the other parts of the readme folder to see how to get involved in the project, including things such as code submission requirements, technical set-up, more information on the back-end repo, various technical documents, how to submit requests for adding new features, and more!

To check the code out, git clone this repo and cd into the directory. We recommend using VSCode as your IDE.

You will need to install Node to run this app: https://nodejs.org/en/

We are using Yarn as the package/dependency manager: https://yarnpkg.com/

To install Yarn:

if you have Homebrew:

brew install yarn

otherwise

npm install --global yarn

In the project directory, you can run:

yarn install

to add node_modules

Then you should be able to run expo start to access a local build of the app on your phone. If the expo command is unavailable, try running yarn global add expo-cli

Note: To test the app with dummy data, you will have to run a local instance of the backend in another terminal window. Backend repo/instructions: https://github.com/HotSoupRepos/HotSoup-backend

You can find the api request url at src/service/soupKitchenService.ts. There is a hardcoded url including a unique IP address stored in a variable. You will have to change it to your own computer's IPv4 address to make requests to the running backend. You CANNOT use localhost, since the app is running on your phone/simulator.

You can find your IP address by following instructions here: https://www.avg.com/en/signal/find-ip-address

If you are on Mac and wifi, run this in terminal: ipconfig getifaddr en0 Otherwise run ipconfig getifaddr en1 Windows: Run ipconfig /all

Make sure to append to the end of your url :8000. Ex: const url = "http://192.168.1.5:8000";

If you are interested in an alternative have a look here: https://ngrok.com/

Steps to use ngrok:

npx ngrok http http://localhost:8000
copy https url next to fowarding
paste in the url mentioned above but this time make sure to exclude the port. The ngrok url includes it already

Once you have modified url to your own, the backend should receive a request correctly, and location list items should appear on the second screen.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published