The Twidder website is a part of the course TDDD97 conducted at Linköping University. https://www.ida.liu.se/~TDDD97/labs/index.en.shtml
The website allows users to set up their own profile, post messages to walls and see other users' walls with their profiles.
HTML, CSS (Bootstrap), Javascript
Python, Flask, Sqlite
- Set up virtual environment https://flask.palletsprojects.com/en/2.2.x/installation/
- Download additional modules in the virtual environment:
- Flask
pip install flask
- Flask SocketIO
pip install flask-socketio
- requests
pip install requests
- email.mime
pip install email
(only if not available by default)
- Run the server in the command line (for Windows:
python server.py
) - Type
http://127.0.0.1:5000/static/client.html
URL in the browser
- Testing Using Selenium
- Styling and Responsive Design
- Geolocation
- Password recovery
The current API key from Geoapify is required in the server.py file in order for the geolocation to work.
The current e-mail username and password for SMTP is required in the server.py file for the password recovery to work.
- Download Microsoft Edge WebDriver https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
- Set it in the same location as
test.py
- Use the command
python test.py
in the command line