This project is a web application built with a frontend in React and a backend using Flask. It is designed to take a user's full name and a zip code as inputs. The name is then translated into Pig Latin, and the zip code is validated and used to fetch related county and population data.
Server:
- Change directory to
flask-server
- Run
source venv/bin/activate
- Run
pip3 install -r requirements.txt
- Start server using
python3 server.py
- To deactivate virtual environment, run
deactivate
Client:
- Change directory to
client
- Run server using
npm start
Server Tests:
- Change directory to
flask-server
- Run
source venv/bin/activate
- Run tests using
python3 -m pytest
SASS installation:
- npm install node-sass