Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Run TaaS App with TaaS API locally to test Interview Scheduling using Nylas

maxceem edited this page Oct 21, 2021 · 3 revisions

The TaaS API has been updated to support new Interview Scheduling Workflow. But it was not deployed to Topcoder DEV. So to work on the Interview Process locally you would have to setup locally both: TaaS App and TaaS API.

Run TaaS API

  • !Branch: feature/interview-update

To run TaaS API follow Local Setup Guide.

You would need .env file with environment variables for Auth0 (M2M token) and Nylas. Please, reach me on Slack maxceem or by email [email protected] and I'll share .env file with you.

Run TaaS App

  • !Branch: feature/interview-update

Run TaaS App following How to run Locally Guide. And before running change in config config/dev.js API.V5 to http://localhost:3000/api/v5

Creating Demo Data

Most likely you would need to schedule interview using UI. A quick to do it is creating demo using Postman in TaaS API:

  • Load Postman collection and environment from https://github.com/topcoder-platform/taas-apis/tree/dev/docs
  • Set projectId inside environment variables in Postman to some of the projects, for example to 18907, see screenshot
  • Create Job by calling Interview -> Before Test -> create job, see screenshot
  • Create Job Candidate by calling Interview -> Before Test -> create job candidate
  • Now load the page with created job by URL http://localhost:8080/taas/myteams/{projectId}/positions/{jobId}/candidates/to-review and you would see your Job Candidate with whom you might start scheduling interview, see screenshot
Clone this wiki locally