Skip to content

πŸš€ πŸ‘¨πŸ»β€πŸ’» πŸ“¦ Strapi v4 starter pack

Notifications You must be signed in to change notification settings

f00b4r/strapi-v4-skeleton

Repository files navigation

Strapi

Strapi - Open Source Node.js Headless CMS

Stack

  • Strapi 4+
  • Node.js 18+
  • MariaDB 10.10+
  • SQLite (for development)

Configuration

We use these plugins in Strapi:

Development

Makefile

➜ make
Usage:
  make <target>

Targets:
  clean                Clean strapi files
  dev                  Start Strapi for local development
  docker-build         Docker image build
  docker-dev           Run docker image
  docker-mariadb       Run mariadb container
  docker-push          Push docker image to registry
  docker-up            Run docker containers
  install              Install all dependencies
  start                Strapi start sequence (build + start)
  strapi-admin         Strapi GUI development
  strapi-build         Build Strapi CMS

ENV

# Strapi
HOST=0.0.0.0
PORT=1337
DOMAIN=http://localhost:1337
APP_KEYS=strapi
API_TOKEN_SALT=strapi
ADMIN_JWT_SECRET=strapi
JWT_SECRET=strapi

# Database
DATABASE_TYPE=sqlite
DATABASE_URL=postgres://postgres:strapi@0.0.0.0:5432/strapi

# S3
S3_ENABLED=false
S3_ACCESS_KEY_ID=strapi
S3_ACCESS_SECRET=strapi
S3_ENDPOINT=https://s3.yourserver
S3_BUCKET=strapi

# Emails
SMTP_ENABLED=false
SMTP_HOST=smtp.yourserver
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=

# Sentry
SENTRY_ENABLED=false
SENTRY_DSN=sentry

About

πŸš€ πŸ‘¨πŸ»β€πŸ’» πŸ“¦ Strapi v4 starter pack

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published