This is the web application interface for users to more conveniently interact with Acrobat project.
- React for frontend.
- Node and Express for backend.
- Flask and Flask-RESTful and Pickle for machine learning RESTful APIs.
- MongoDB for data storage. Currently we are using the mLab free version of cloud MongoDB, and may switch to MongoDB Atlas in the future.
- Amazon AWS for future deployment.
First add Allow-Control-Allow-Origin chrome extension. So we can query database using localhost without Allow-Control-Allow-Origin problem.
./install.sh
for production
npm start
for development, start each service separately
cd view/ && npm start
cd server/ && node server.js
cd ML-API/ && python api-server.py
sass --watch view/src/components/ --style compressed
or
make compile
- When install some npm package, use
npm install --save [package-name]
- If copy the whole project repo, use
cp -a
instead ofcp -r
, since the latter will cause some mysterious symbolink problem. - If can't install flair, first
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg