-
Backend :
- Node Js
- Express
- JWT authentication
- Crypto Js
- Python
- Fast API -Sentence transformer
-
Database :
- Mongo DB
git clone https://github.com/DevTandem/ProductModule.git
npm init
npm i <package name>
- bcryptjs
- dotenv
- express
- init
- jsonwebtoken
- mongoose
- path
- nodemon
- axios
Add the following line of code in "Scripts" of package.json :
"dev": "nodemon app.js"
JWT_SECRET_KEY = <your value>
Mongo_URL = <mongo db url>
DB_NAME = <database name>
Paste the following in the terminal where the node js environment has been set up
npm run dev
Install python and pip Run the following command to install dependencies:
pip install <dependency name>
- fastapi
- sentence_transformers
- pymongo
- dotenv
- pydantic
- uvicorn
Mongo_URL = <mongo db url>
DB_NAME = <database name>
Paste the following in the terminal where python environment has been setup
uvicorn generate_embedding:app --host 0.0.0.0 --port 8000 --reload