Requirements for the task -- https://cloudforge.notion.site/Take-Home-Screen-52af58a7b82e46fa92fe8975101fa539
Steps:
DB_CONN_STRING=mongodb+srv://...
DB_NAME=emails_db
EMAILS_COLLECTION_NAME=emails
RFQS_COLLECTION_NAME=rfqs
INVENTORY_COLLECTION_NAME=inventory
SENT_RFQS_COLLECTION_NAME=sent_rfqs
OPENAI_API_KEY=sk-proj-...
npm start
Steps:
npm start
Implemented the FE for the platform with routing to switch between different views of the application
Added a Node.js backend with a MongoDB database. Defined the endpoints for the application logic and separated files between controllers (for accessing the database), database (for coonnecting to the MongoDB collections), models (for the application models), routes (for defining the paths to the routes), services (for handling the data)
Added a ChatGPT gpt-3.5-turbo model on the BE to handle the incoming letters and turn them into RFQs