Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Root netlify.toml - redirects to project-creation-app subdirectory
# This allows Netlify's native GitHub integration to work with the monorepo

[build]
base = "project-creation-app"
command = "npm run build"
publish = "dist"

# SPA routing - redirect all routes to index.html for client-side routing
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

# Security headers
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"

# Cache static assets
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
6 changes: 6 additions & 0 deletions project-creation-app/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ Several project types have well-developed Asana templates with additional projec
3. Any project type without a specific template mapping falls back to `default_template_gid`
4. Template GIDs are configurable in the TOML config file for semi-technical staff to update

## Autodeploy this app
- deploy to prod on merge to main [do not implement yet]
- ~~deploy preview links on PR creation~~ DONE (via Netlify native GitHub integration)

Deploy *only* the project creation helper app, *not* the oauth relay, as the platform oauth endpoints need a stable redirect url.

**How it works:** Netlify's native GitHub integration automatically creates deploy previews for PRs. The root `netlify.toml` configures `base = "project-creation-app"` for monorepo support. Environment variables are configured in Netlify site settings (sync with `npm run env:sync:execute`).

## Add Auth0 Authentication

Expand Down