Country info search, compare, and save app
- Search for any country and get detailed info
- Compare two countries side-by-side
- Save favourite countries to a local database
- Delete saved countries
- **Frontend:** React, JSX, CSS
- **Backend:** Python (Flask), SQLite
- **API:** REST Countries API
https://geographica-brown.vercel.app
Prerequisites: Python 3.8+, Node.js, npm
cd geographica-backend
pip install -r requirements.txt (it will prob have one by then)
# run the flask sv:
python app.py => on Windows/Linux
python3 app.py => on macOS
cd geographica-frontend
npm install
npm start
After awhile without pushing any new projects, I took a step back from AI integration and decided on learning Sqlite database. I implemented it using a CRUD format (Create, Read, Update, Delete), all features present in this project. I found difficulties at start because syntax seemed unnatural to me, most likely due to sqlite being old and reading like english. I had to wire my brain in. It was also challenging to pass data into it and retrieve it at first, but it grew on me quickly.
cursor.execute(), conn.commit(), conn.close()
are all pretty intuitive. That being said, with my new found knowledge I now believe I could improve older projects such as C-neBot by implementing user favourites for example.