Strapi v5 + Nodemailer + S3

Ready to deploy template for Strapi(TS), Nodemailer, AWS S3, Graphql

Deploy Strapi v5 + Nodemailer + S3

Strapi

compbyter/strapi-nodemailer-s3-template

Just deployed

Postgres

railwayapp-templates/postgres-ssl:16

Just deployed

/var/lib/postgresql/data

Strapi v5 as Typescript + Nodemailer + AWS S3 + Graphql | Starter Template

Notes

When this template is running on Railway, Strapi will connect to the Postgres Database through the private network, saving you on database egress fees.

Developing Locally

  • When developing locally, this Strapi template will connect to the Postgres server from its public TCP Proxy.
  • Enable the feature flag Template Service Eject in the Feature Flags menu.
  • Within the service settings of the Strapi service, click the Eject button on the upstream repository.
  • Clone the newly created repository locally.
  • Install Strapi's dependencies with yarn install or npm install.
  • Install the Railway CLI (Instructions).
  • If this is your first time using the CLI, make sure to log in with railway login.
  • Within the local repository, run railway link to link the local repository to the Strapi service on Railway.
  • Start Strapi for development with railway run yarn run develop or railway run npm run develop.
  • This command will run Strapi in development mode with the service variables available locally.

Open your local machine browser to http://127.0.0.1:1337/admin


Purpose

This project is a Strapi v5 + Nodemailler + S3 Starter Template. It is designed to work with just four parameters:

  • AWS_ACCESS_KEY_ID

  • AWS_ACCESS_SECRET

  • AWS_BUCKET_NAME

  • AWS_REGION

  • SMTP_HOST

  • SMTP_PASSWORD

  • SMTP_PORT

  • SMTP_USERNAME

These parameters can also be provided as null. The project will still deploy, but media uploads (e.g., JPG, PNG) will not be functional without valid values and you can't send any email until you give your correct smtp params.


Acknowledgments

This project was inspired by Szilard Koppel's project. A big thank you to Szilard for his amazing work!



Template Content

More templates in this category

View Template

mellow-vue

A full-stack Vue app with The Boring JavaScript Stack.


View Template

Sveltekit NestJS

Full-stack with SvelteKit + NestJS + Prisma + Postgresql with utils


View Template

.NET8 Web API

A basic ASP.NET Core Web API template (.NET 8)