Frontend: React JSX
Backend: Python/Flask
Database: MongoDB
Dev/Prod Host: Heroku
- Google account for signing into the app (currently using Google Auth)
- Azure embedding endpoint (or other emebdding API/service that uses text-embedding-ada-002 model)
- Azure summarization endpoint (or other summarization API/service)
- MongoDB account for storing users and their bookmarks
- CloudAMQP account for message queue functionality
- Cloudinary account for online image storage
- Clone this repository:
git clone https://github.com/labrocadabro/easy-marks.git
- Pip install
requirements.txt
:
pip install -r requirements.txt
- Install
node_modules
in thefrontend
folder:
cd frontend
npm install
-
Locate the 'example.env' file in the
backend
folder and replace environment variables with your own. -
Rename 'example.env' to
.env
.
- In the top level directory run
Flask
:
flask --app run --debug run
- In another terminal, run the
queue_worker.py
script:
python queue_worker.py
- In another terminal, change directory into the
frontend
folder:
cd frontend
- Run the development environment with
npm
:
npm run dev
- Sign into Easy Marks with your Google account and explore!