Files
Strava-API/.devcontainer/devcontainer.json
Louis 477d827e6f Initializes Strava API integration
Sets up the basic structure for integrating with the Strava API.
This includes:
- Adds .devcontainer configuration for consistent development environment.
- Configures eslint and prettier for code quality and formatting.
- Implements secure credential management using Infisical.
- Creates basic Strava client and request classes with authentication handling.
- Sets up basic express routes to return data from the Strava API

This commit lays the foundation for future enhancements such as
fetching and displaying activity data.
2025-10-23 16:40:27 +02:00

45 lines
1.4 KiB
JSON

{
"name": "TypeScript Node.js",
"dockerFile": "Dockerfile",
"context": "..",
"remoteUser": "node",
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.vscode-typescript-next",
"ESLint.eslint",
"Prettier.prettier-vscode",
"ms-vscode.makefile-tools",
"ms-vscode-remote.remote-containers"
],
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.format.enable": true
}
}
},
"forwardPorts": [
3000,
5000
],
"postCreateCommand": "npm install",
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/node/.ssh,type=bind,consistency=cached"
],
"remoteEnv": {
"NODE_ENV": "development"
}
}