Karibu Nami is a web application that is designed to assist travellers, tourists, and anyone exploring new areas who seek quick and user-friendly access to information about local establishments.
The app aims to address the challenge of efficiently accessing and understanding information about local businesses and services when one visits an unfamiliar place. Current search methods provide information that is often not well visualized and challenging for users to digest and utilize effectively.
karibunamiscreenrecord.mp4
The app uses MySQL as the primary database. Before running the app, there are environment variables (all strings), that the app uses and should be kept in a .env file. These are:
mail_key = password of email used # This is the app key needed in order to send verification links to users after they register. You can change the email used in the app.py file and include yours, then use the passowrd of that email
API_KEY = you need one from google before you use their api
The ones below are credentials needed to log in to your MySQL database.
MYSQLUSERNAME = your MySQL username
PASSWORD = your MYSQL password
HOST = eg localhost
DB = name of the database
python3 -m server.flask_api.app
/home page
/places - returns a list of places that the user searched for
/saved_places - stores a list of the places that a signed in user has saved/bookmarked.
/login - the login page
/verify_user - page to verify that signed up users have clicked on the right verification link
/reset_password - for users who want to change their account password
/resend_link - handles resending a verification link to a user after they’ve signed up
/register - for new users to sign up
/place/place_id - page with more details about a place
/log_out - allows signed in users to log out
/bookmark/place_id - Allows user to bookmark a place for future reference
python3 -m unittest discover tests