Repository of the Visia's Backend using Flask+MongoDB
- A MongoDB instance running on the default port (27017)
- Python 3.10 or higher
-
Clone the repository on GitHub
-
Install the requirements:
pip install -r requirements.txt
-
Copy the extras to your environment
-
Run the application:
SET FLASK_APP=app.py SET FLASK_ENV=development python -m flask run
-
Problem related with the flask_mongoengine -> json.py https://github.com/MongoEngine/flask-mongoengine/blob/master/flask_mongoengine/json.py
-
Problem related with the flask_uploads module https://stackoverflow.com/questions/61628503/flask-uploads-importerror-cannot-import-name-secure-filename
-
Problem related with the flask_cors module https://answers.microsoft.com/en-us/microsoftedge/forum/all/disable-cors/55c89fb6-8d72-4318-9ee3-e9cdfc6fa708