API submodule
Already have a Calcom repo clone?
If you have already cloned the calcom repo (from Installation), all you need to do is run the following command to add the API submodule to the existing repository
git-setup.sh apiNow that you have cloned the API repo, you can get up and running by going through the following steps:
Step 1
Copy the .env files from their respective example files:
cp apps/api/.env.example apps/api/.env
cp .env.example .envStep 2
Install packages with yarn:
yarnRunning API server
Run the API with yarn:
yarn workspace @calcom/api devOpen http://localhost:3002 with your browser to see the result.
If you wish to test how API works locally, please check out our guide here.
Last updated
Was this helpful?