Spin up a Next.js app/Express.js server in a single command.
- NextUI
- yup
- FontAwesome
- Supabase
- Docker
- Supabase
- Docker
Before starting, ensure you have the following installed and configured:
- Node.js: Installation guide
- Yarn: Run
npm install --global yarn
to install Yarn via npm. - Supabase: A Supabase project.
- Create a new Next.js app with
npx @autom8te/create-starter-templates@latest -n <project_name> --nextjs
. Replaceproject_name
with your camelCase project name - Navigate to new project folder
- Run
yarn
- Run
yarn dev
- Go to
http://localhost:3000
in browser
- Create a new Express.js server with
npx @autom8te/create-starter-templates@latest -n <project_name> --express
. Replaceproject_name
with your camelCase project name - Navigate to new project folder
- Run
yarn
- Run
yarn start
- Go to
http://localhost:8100
in browser
Tip
You can create both project types in a single command with npx @autom8te/create-starter-templates@latest -n <project_name> --nextjs --express
In any of the projects, run docker compose up -d --build
.
Important
Make sure to have your env vars in .env.local
.
- Create a new project in Supabase.
- Edit the
.env.local
file values (of either project type) with values that can be found in your Supabase project settings.