naveedalirehmani / email-engine

1 stars 0 forks source link

The requests not working #12

Open bokrma opened 3 weeks ago

bokrma commented 3 weeks ago

please fix the issue that the app not working: Screenshot 2024-06-07 at 11 52 23 Screenshot 2024-06-07 at 11 52 30 Screenshot 2024-06-07 at 11 52 40 Screenshot 2024-06-07 at 11 54 33

naveedalirehmani commented 3 weeks ago

If you are having trouble setting up the app on azure portal. I'm happy to share the client_id and client_secret for my app so you can test it with ease.

On Fri, 7 Jun 2024 at 14:53, Karim Haddad @.***> wrote:

please fix the issue that the app not working: Screenshot.2024-06-07.at.11.52.23.png (view on web) https://github.com/naveedalirehmani/email-engine/assets/13594276/c3e03dfe-fe10-48a5-b377-b73f8d1b92c5 Screenshot.2024-06-07.at.11.52.30.png (view on web) https://github.com/naveedalirehmani/email-engine/assets/13594276/928947e8-921b-4989-8e73-6f1613caabae Screenshot.2024-06-07.at.11.52.40.png (view on web) https://github.com/naveedalirehmani/email-engine/assets/13594276/db69b63d-6f3c-4a82-b20b-4489da9d278e

— Reply to this email directly, view it on GitHub https://github.com/naveedalirehmani/email-engine/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3E6WGGDETNMCXB6VUBD2LZGF7JZAVCNFSM6AAAAABI6K7K56VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DAMBUG44DGMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

bokrma commented 3 weeks ago

yes sure, please share it direct message

naveedalirehmani commented 3 weeks ago

https://github.com/naveedalirehmani/email-engine/assets/70668120/39ccc536-b599-4ea0-9980-2bdef58eda35

bokrma commented 3 weeks ago

am still facing the save issue {"message":"The server encountered an unexpected condition that prevented it from fulfilling the request."}

even after user your details

bokrma commented 3 weeks ago

try on fresh installation and see if you can run the service directly and make it work

naveedalirehmani commented 3 weeks ago

Hey, I have pushed a latest possible bug fix, try you do a latest pull and try again with the credentials I provided.

naveedalirehmani commented 3 weeks ago
  1. Pull latest from main
  2. cd into email-engine
  3. cd into deployment
  4. replace the OUTLOOK_CLIENT_ID & OUTLOOK_CLIENT_SECRET with the credentials I shared.
  5. run docker compose up --build
  6. go to http://localhost:3000 and the app should be live.
bokrma commented 3 weeks ago

ok now its working, but where is the functionality of fetching emails to the database and maintaining the live sync with the email provider? i see only the subscription API without saving the data in DB with reflecting the changes and the socket not working, the front doesn't get updates

naveedalirehmani commented 3 weeks ago

Hey, those updates are on the way. I tried to add those features as well, but the timeline was too strict to include everything. Given more time, I can also implement those changes.

bokrma commented 3 weeks ago

please delete the creds from the issue details, I already have it locally

naveedalirehmani commented 3 weeks ago

Do you want anything else from my side?

bokrma commented 3 weeks ago

just the challenge to be finished as a real solution, don't forget this will be the base of the engine core to fetch emails and should work as expected as when new email received it shows directly in our DB if a message moved, it should also reflect same for read/unread and other flag features

naveedalirehmani commented 3 weeks ago

So do you want me to keep working on this? also when do you expect this project to be submitted?

bokrma commented 2 weeks ago

sure you can keep working on it, I will evaluate it based on the functionality if it fits our challenge. so the total duration was 2 weeks, but if you are going to provide very good results we can extend that