Skip to content

aishabazylzhanova/Final_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Final_Project

Web-server with parser, connection to DBMS and the Hugging Face.

Team: Aisha Bazylzhanova(SE-2004), Arysbay Dastan(SE-2004)

Installation

To install, you need to download webserver.py, database.py and templates from the repository and save them in the same folder. Also you need to install Firefox browser and install geckodriver.

Usage

In database.py file you need to provide your data

app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://YourUsername:YourPassword@localhost/NameOfYourDatabase'

In webServer.py file you need to provide your data

driver = webdriver.Firefox(executable_path=r'C:\<your>\<path>\<to>\<the>\<geckodriver>\geckodriver.exe')

When you can run webServer.py

C:\<your>\<path>\<to>\<the>\<folder>\webserver.py

In /signup route you provide login and password. If they are correct when you will be redirected to the /webpage route. In /webpage route you provide name of needed coin. When you enter the name of the coin and click the button, you will be automatically redirected to /coin route. After that you will see summary of all recorded news about entered coin.

Examples

C:\Users\abazy>C:\Users\abazy\source\repos\ProjectsPython\project4\project\webserver.py
 * Serving Flask app 'database' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 190-195-588
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
http://127.0.0.1:5000/webpage
#Name:
#Sumbit
http://127.0.0.1:5000/coin
#<Summary of all needed news>

LICENSE ✔

requirements.txt ✔

src/ ✔

test/ ✔

About

Web-server with a parser, connection to DBMS, and the Hugging Face.

Resources

License

Stars

Watchers

Forks