|
| 1 | +--- |
| 2 | +next: false |
| 3 | +prev: false |
| 4 | +--- |
| 5 | + |
1 | 6 | # Auth in Leaf MVC |
| 7 | + |
| 8 | +## What to read next |
| 9 | + |
| 10 | +Now that you have built a simple pre-launch page, the next step is to get you familiar with the basics of building a full-stack application with Leaf. So you can build and launch your next big idea *fast*. |
| 11 | + |
| 12 | +<ul |
| 13 | + class="!mt-10 grid grid-cols-1 gap-x-16 gap-y-8 xl:grid-cols-2 xl:gap-y-10 !pl-0" |
| 14 | +> |
| 15 | + <li class="relative flex items-start"> |
| 16 | + <div |
| 17 | + class="w-16 h-16 p-[0.1875rem] rounded-full ring-1 ring-slate-900/10 shadow overflow-hidden flex-none dark:ring-white/50" |
| 18 | + > |
| 19 | + <div |
| 20 | + class="bg-[length:150%] rounded-full h-full bg-center bg-no-repeat bg-pink-100 dark:bg-pink-200" |
| 21 | + style=" |
| 22 | + background-image: url(/images/illustrations/Feature-Flags-5.svg); |
| 23 | + " |
| 24 | + ></div> |
| 25 | + </div> |
| 26 | + <div class="peer group flex-auto ml-6"> |
| 27 | + <h3 |
| 28 | + class="mb-2 font-semibold !text-slate-900 dark:!text-slate-200 !m-0" |
| 29 | + > |
| 30 | + <a |
| 31 | + class="before:absolute before:-inset-3 before:rounded-2xl !text-inherit sm:before:-inset-4 !no-underline" |
| 32 | + href="/docs/routing/" |
| 33 | + >Routing<svg |
| 34 | + viewBox="0 0 3 6" |
| 35 | + class="ml-3 w-auto h-1.5 overflow-visible inline -mt-px text-slate-400 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100" |
| 36 | + > |
| 37 | + <path |
| 38 | + d="M0 0L3 3L0 6" |
| 39 | + fill="none" |
| 40 | + stroke-width="2" |
| 41 | + stroke="currentColor" |
| 42 | + stroke-linecap="round" |
| 43 | + stroke-linejoin="round" |
| 44 | + ></path></svg |
| 45 | + ></a> |
| 46 | + </h3> |
| 47 | + <p class="text-[var(--vp-c-text-2)] !m-0 text-sm"> |
| 48 | + Learn more about routing in Leaf MVC, dynamic routes, middleware and more. |
| 49 | + </p> |
| 50 | + </div> |
| 51 | + <div |
| 52 | + class="absolute -z-10 -inset-3 rounded-2xl bg-slate-50 dark:bg-[var(--vp-c-bg-alt)] opacity-0 peer-hover:opacity-100 sm:-inset-4" |
| 53 | + ></div> |
| 54 | + </li> |
| 55 | + <li class="relative flex items-start"> |
| 56 | + <div |
| 57 | + class="w-16 h-16 p-[0.1875rem] rounded-full ring-1 ring-slate-900/10 shadow overflow-hidden flex-none dark:ring-white/50" |
| 58 | + > |
| 59 | + <div |
| 60 | + class="bg-[length:350%] rounded-full h-full bg-green-100 dark:bg-green-200 bg-center bg-no-repeat" |
| 61 | + style=" |
| 62 | + background-image: url(/images/illustrations/Heading-2.svg); |
| 63 | + " |
| 64 | + ></div> |
| 65 | + </div> |
| 66 | + <div class="peer group flex-auto ml-6"> |
| 67 | + <h3 |
| 68 | + class="mb-2 font-semibold !text-slate-900 dark:!text-slate-200 !m-0" |
| 69 | + > |
| 70 | + <a |
| 71 | + class="before:absolute before:-inset-3 before:rounded-2xl !text-inherit sm:before:-inset-4 !no-underline" |
| 72 | + href="/docs/http/request" |
| 73 | + >Handling Requests<svg |
| 74 | + viewBox="0 0 3 6" |
| 75 | + class="ml-3 w-auto h-1.5 overflow-visible inline -mt-px text-slate-400 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100" |
| 76 | + > |
| 77 | + <path |
| 78 | + d="M0 0L3 3L0 6" |
| 79 | + fill="none" |
| 80 | + stroke-width="2" |
| 81 | + stroke="currentColor" |
| 82 | + stroke-linecap="round" |
| 83 | + stroke-linejoin="round" |
| 84 | + ></path></svg |
| 85 | + ></a> |
| 86 | + </h3> |
| 87 | + <p class="text-[var(--vp-c-text-2)] !m-0 text-sm"> |
| 88 | + Learn how to process incoming requests, handle form submissions, and more. |
| 89 | + </p> |
| 90 | + </div> |
| 91 | + <div |
| 92 | + class="absolute -z-10 -inset-3 rounded-2xl bg-slate-50 dark:bg-[var(--vp-c-bg-alt)] opacity-0 peer-hover:opacity-100 sm:-inset-4" |
| 93 | + ></div> |
| 94 | + </li> |
| 95 | + <li class="relative flex items-start"> |
| 96 | + <div |
| 97 | + class="w-16 h-16 p-[0.1875rem] rounded-full ring-1 ring-slate-900/10 shadow overflow-hidden flex-none dark:ring-white/50" |
| 98 | + > |
| 99 | + <div |
| 100 | + class="bg-[length:120%] rounded-full h-full bg-purple-100 dark:bg-purple-200 bg-center bg-no-repeat" |
| 101 | + style=" |
| 102 | + background-image: url(/images/illustrations/db.svg); |
| 103 | + " |
| 104 | + ></div> |
| 105 | + </div> |
| 106 | + <div class="peer group flex-auto ml-6"> |
| 107 | + <h3 |
| 108 | + class="mb-2 font-semibold !text-slate-900 dark:!text-slate-200 !m-0" |
| 109 | + > |
| 110 | + <a |
| 111 | + class="before:absolute before:-inset-3 before:rounded-2xl !text-inherit sm:before:-inset-4 !no-underline" |
| 112 | + href="/docs/database/" |
| 113 | + >Using Databases<svg |
| 114 | + viewBox="0 0 3 6" |
| 115 | + class="ml-3 w-auto h-1.5 overflow-visible inline -mt-px text-slate-400 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100" |
| 116 | + > |
| 117 | + <path |
| 118 | + d="M0 0L3 3L0 6" |
| 119 | + fill="none" |
| 120 | + stroke-width="2" |
| 121 | + stroke="currentColor" |
| 122 | + stroke-linecap="round" |
| 123 | + stroke-linejoin="round" |
| 124 | + ></path></svg |
| 125 | + ></a> |
| 126 | + </h3> |
| 127 | + <p class="text-[var(--vp-c-text-2)] !m-0 text-sm"> |
| 128 | + Learn how to build queries, build relationships, and interact with your database programmatically. |
| 129 | + </p> |
| 130 | + </div> |
| 131 | + <div |
| 132 | + class="absolute -z-10 -inset-3 rounded-2xl bg-slate-50 dark:bg-[var(--vp-c-bg-alt)] opacity-0 peer-hover:opacity-100 sm:-inset-4" |
| 133 | + ></div> |
| 134 | + </li> |
| 135 | + <li class="relative flex items-start"> |
| 136 | + <div |
| 137 | + class="w-16 h-16 p-[0.1875rem] rounded-full ring-1 ring-slate-900/10 shadow overflow-hidden flex-none dark:ring-white/50" |
| 138 | + > |
| 139 | + <div |
| 140 | + class="bg-[length:400%] rounded-full h-full bg-yellow-100 dark:bg-yellow-200 bg-center bg-no-repeat" |
| 141 | + style=" |
| 142 | + background-image: url(/images/illustrations/Stats-2.svg); |
| 143 | + " |
| 144 | + ></div> |
| 145 | + </div> |
| 146 | + <div class="peer group flex-auto ml-6"> |
| 147 | + <h3 |
| 148 | + class="mb-2 font-semibold !text-slate-900 dark:!text-slate-200 !m-0" |
| 149 | + > |
| 150 | + <a |
| 151 | + class="before:absolute before:-inset-3 before:rounded-2xl !text-inherit sm:before:-inset-4 !no-underline" |
| 152 | + href="/docs/frontend/" |
| 153 | + >Frontend<svg |
| 154 | + viewBox="0 0 3 6" |
| 155 | + class="ml-3 w-auto h-1.5 overflow-visible inline -mt-px text-slate-400 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100" |
| 156 | + > |
| 157 | + <path |
| 158 | + d="M0 0L3 3L0 6" |
| 159 | + fill="none" |
| 160 | + stroke-width="2" |
| 161 | + stroke="currentColor" |
| 162 | + stroke-linecap="round" |
| 163 | + stroke-linejoin="round" |
| 164 | + ></path></svg |
| 165 | + ></a> |
| 166 | + </h3> |
| 167 | + <p class="text-[var(--vp-c-text-2)] !m-0 text-sm"> |
| 168 | + Learn about SSR, SPA, and how to use Leaf with your favorite frontend framework. |
| 169 | + </p> |
| 170 | + </div> |
| 171 | + <div |
| 172 | + class="absolute -z-10 -inset-3 rounded-2xl bg-slate-50 dark:bg-[var(--vp-c-bg-alt)] opacity-0 peer-hover:opacity-100 sm:-inset-4" |
| 173 | + ></div> |
| 174 | + </li> |
| 175 | +</ul> |
0 commit comments