Skip to content

mmonclair/return_path

Repository files navigation

Sample project for Return Path

Running the application

  1. Fork the repo locally
  2. Open a terminal window and cd to the `email-api` folder
  3. Run the command `composer start`
  4. Open a second terminal window and cd to the `email-portal` folder
  5. Run the command `npm start`
  6. The UI will open in localhost:3000

Notes

  • There is a Docker Compose file in the application root that I'm still working on. I'd like to try to finish it before Thursday.
  • I had a CORS issue in trying to call the API, which I resolved by installing the CORS plugin in Chrome. This, of course is not ideal. I tried to find a way to configure my Slim router to allow cross-domain connections, rather than set it in my local Apache server, so that this setting would follow the application, rather than depend on the local server.
  • I had written the app for the happy path prior to working on the Docker part of the exercise. I will work on error handling before Wednesday, Oct 10.
  • Update: I changed the getResponse() method in the API to look for possibly invalid files. I changed the rendering of the output in the UI to cycle through the keys in the response, ignoring Message-ID.

About

Sample project for Return Path

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published