Back to Wasp

Wasp File Structure Note

web/versioned_docs/version-0.12/auth/social-auth/_wasp-file-structure-note.md

0.23.0297 B
Original Source

Here's a skeleton of how our main.wasp should look like after we're done:

wasp
// Configuring the social authentication
app myApp {
  auth: { ... }
}

// Defining entities
entity User { ... }

// Defining routes and pages
route LoginRoute { ... }
page LoginPage { ... }