A Strapi implementation of my older Broast - a trade coffee distribution company's - api.
Corresponding NextJS Front-End: Coming Soon
- Clone this repo
- Run
yarn install
- Setup a Postgres v12 database. This project comes with a simple lando configuration to spin one up for you. Simply run
lando start
and uselando info -s database
to get your database credentials. (Make sure to use the external connection). - Copy the
.env.example
file to create you.env
file. NOTE: If using the lando configuration, know that the external port changes dynamically. Make sure that theDATABASE_PORT
matches your running database port on each start up. - If all configured, run
yarn run develop
. You should now have a running Strapi installation of the Broast API.
Make sure to follow your hosting provider's instruction on Strapi's official documentation: https://strapi.io/documentation/v3.x/getting-started/deployment.html
This project is pre-configured to use Cloudinary for media storage when in production. All other environments will default to the local filesystem.