Ecommerce Template with Crystallize and Remix

R
Renaudil y a 2 jours
0

Description

A fully-featured eCommerce boilerplate built using Remix and Crystallize with performance in mind.

npx boilerapp ecommerce-crystalize-remix

文档

Crystallize - Remix Run - Boilerplate

Installation

npx @crystallize/cli-next@latest install remix-run

And you got your project running thanks to :

cd remix-run && application
npm run dev

Docker services

By default, docker is not used. In the provisioning/dev/ folder you will see a docker-compose.yaml that can be used.

make serve

This will start the Docker network, starting Mailcatch and Redis. You then need to adapt the .env file of course to start using those services.

Custom Local domain and HTTPS

For a better experience and respect the Twelve-Facter App we recomend to have local domain

And everything is ready for you too.

Add local domains

Add an entry for the subdomains in your /etc/hosts file:

Using /etc/hosts

127.0.0.1 SUPERFASTPROJECTIDENTIFIER.superfast.local

Using dnsmasq for multiple tenants

You only ever need to do this once for all Superfast stores you might set up

brew install dnsmasq
echo "address=/superfast.local/127.0.0.1" >> /opt/homebrew/etc/dnsmasq.conf
sudo mkdir -p /etc/resolver && echo "nameserver 127.0.0.1" > /etc/resolver/local
sudo brew services restart dnsmasq

Gotchas

make serve will:

  • run the node project on HTTP
  • run the Caddy proxy on HTTPS
  • run the Docker Network

And then you can

you can stop non stopped services with make stop

Note: to connect to Redis: docker run --rm --net=host -it redis redis-cli -h 127.0.0.1 -p 3023

Also

  • Frontend run in HTTP on 3018
  • Frontend Live Reload WebScoket run in HTTP on 3019
  • Caddy enables HTTPS on top of them all

Prix

Gratuit

FREE

评论 (0)

常见问题

常见问题解答 (FAQ)

有问题?我们有答案。如果您找不到想要的答案,请随时联络我们。

Boilerapp 是一个专门用于分享 Boilerplates、入门套件(Starter Kits)和项目模版的开发者社区平台。我们的目标很简单:为您节省初始配置(Setup)的时间,让您可以专注于真正重要的代码。无论您是在寻找简单的代码库还是完整的 SaaS 项目,都能在这里找到。

还有其他问题?

我们的团队随时为您提供帮助。联络我们,我们将尽快回复。

Ecommerce Template with Crystallize and Remix | BoilerApp