News for hackers. Stuff that matters.
Re:Ask HN: Which stack for prototyping? by readonthegoapp on Monday April 19, 2021 @09:53AM (#26862768)
AFAIK laravel 8 -- the latest -- is the only stack to provide auth out of the box

As in

They give you a login screen

When you install an app 'starter kit'

Breeze -- the simplest -- in this example

Downside is you get stuck w vue and tailwindcss as defaults

  curl -s https://laravel.build/example-app | bash

  cd example-app

  php artisan migrate

  composer require laravel/breeze --dev

  php artisan breeze:install

  npm install

  npm run dev

  php artisan migrate
Re:Ask HN: Which stack for prototyping? by cookingmyserver on Monday April 19, 2021 @12:50PM (#26864926)
Django also provides auth out of the box. Granted the existing login page is for the admin, but that brings up another point.. it has a built-in admin portal which is super helpful!

If you want a user facing login page there are default login views, all you really need to do is make the template for the page.

Re:Ask HN: Which stack for prototyping? by 07121941 on Monday April 19, 2021 @03:35PM (#26867022)
Love using Django
Re:Ask HN: Which stack for prototyping? by simplerman on Monday April 19, 2021 @04:56PM (#26867892)
I will second Laravel. Also PHP developers are cheaper, if one day your project turns into a business, you can hire for a lot less money.
Re:Ask HN: Which stack for prototyping? by tbronchain on Monday April 19, 2021 @12:11PM (#26864386)
This really fits into the "getting something up and running quick" category. Thank you!
Re:Ask HN: Which stack for prototyping? by joelbluminator on Thursday April 22, 2021 @03:53AM (#26900010)
Ah Laravel depends on Vue by default? I didn't know that.
Re:Ask HN: Which stack for prototyping? by readonthegoapp on Tuesday May 04, 2021 @06:29AM (#27035938)
no

but the default 'starter kits' do -- at least in the latest version (8.x).

if you're an expert in laravel/vue/mix/css/js/webpack/etc., it's prob 30 seconds to a few minutes to swap it out for...nothing, or something different (e.g. React).

also, there are now a paid boilerplate saas products that give you a login screen 'out of the box' -- and some other things.

e.g. https://www.saaspegasus.com/ for python/django

Re:Ask HN: Which stack for prototyping? by tcbasche on Tuesday April 20, 2021 @02:50AM (#26871478)
Django (Python) also includes auth if I’m not mistaken. A good approach I’ve seen is using Django to create REST API’s while using the admin interface and ORM support as free bonuses.