forked from ebanigogia/MovieRecommender
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified backend and frontend to work more refined
- Loading branch information
1 parent
efed7a8
commit f7993ce
Showing
10 changed files
with
59 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Prerequisites | ||
|
||
To install dependencies for the backend, run: | ||
|
||
pip install -r requirements.txt | ||
|
||
For the frontend, navigate to ```./src/frontend``` and run: | ||
|
||
npm install | ||
|
||
# How to run | ||
|
||
To start the backend, cd to ./src/backend and run: | ||
|
||
python3 app.py ../../data/movies.csv | ||
|
||
To start the frontend, navigate to ./src/frontend and then run: | ||
|
||
npm start | ||
|
||
The frontend and backend will be available at localhost 3000 and 5000 respectively. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
numpy>=1.18.5,<=1.20.3 | ||
pandas>=1.0.4,<=1.2.4 | ||
Flask>=1.1.2,<=2.1 | ||
Flask-Cors>=3.0.9,<=3.1 | ||
autopep8>=1.5.4,<=1.6 | ||
requests>=2.22.0,<=2.25.0 | ||
Flask | ||
flask-cors | ||
flask-sqlalchemy | ||
flask-login | ||
requests | ||
pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters