# docker pull bissorm/api-emotions-datamining# docker run -p 8000:8000 bissorm/api-emotions-dataminingThe structure of a Django project works by separating the project parts into applications. Normally, the first application receives the name of the project, when it is built. I changed the name to config, as it is responsible for the project settings. For this project, I created two more apps, api and frontend.
App responsible for handling the calls to classify a phrase/text.
Called when the application starts. Contains a class Classifier responsible for the training and classification of the phrases.
Contais the routs for the api app.
Contains the database for training and testing the data mining model.
Folder that contains the nltk data for the training model. This was needed because nltk normally uses a UI for downloading the data, so a manual installation were needed.
File used to build the heroku app
File used to build the docker image