To get started with this project, ensure you have the following tools installed and properly set up:
Ensure you have the following installed:
- Docker
- Node.js (LTS version recommended)
- Docker is required to run the Legacy API (JavaScript-based application) in a containerized environment.
- The project includes both a
Dockerfileanddocker-compose.ymlto streamline the setup and execution of the External API.docker-composewill automatically build and launch the service, accessible on port 4040.
- The Legacy API uses Node.js (specifically for the Express server in
src/server.js). - The New Application (built with TypeScript) also requires Node.js for running TypeScript files and managing dependencies.
-
For Legacy API:
- Start the service in a containerized environment by running (in the root directory):
docker-compose up -d
- This will bring up the Legacy API on port 4040.
- Start the service in a containerized environment by running (in the root directory):
-
For New Application:
- Install the necessary dependencies by running:
npm install
- To run the application, use either of the following commands depending on your needs:
- For development mode:
npm dev
- To start the application:
npm start
- For development mode:
- Install the necessary dependencies by running:
new-recruitment-api/: This folder contains the New Recruitment API that is still under development.legacy-api/: This folder holds the Legacy API, which is the older API that is being replaced.