Giter Club home page Giter Club logo

furniture-remix's Introduction

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

furniture-remix's People

Contributors

cymkd avatar dhairyadwivedi avatar didrikhegna avatar nerdenough avatar nervetattoo avatar plopix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

furniture-remix's Issues

about secret..

I have a secret plan to inject some XState state machines into our [Remix Furniture Boilerplate](https://github.com/CrystallizeAPI/furniture-remix) (don’t tell anybody).

AMAZING!!!

npm run start Unexpected Server Error

hi,

i m trying get the up project on local as a server, if i can i will publish project to aws
now, i have an error;when i try npm run start command localhost:3000 is opening with error :

Unexpected Server Error

and my ide console has error:

Remix App Server started at http://localhost:3000 (http://192.168.1.47:3000)
TypeError: (0 , import_jsx_dev_runtime.jsxDEV) is not a function
    at C:\Dev\Repos\Nebim\dev-e.eradev.cloud\src\entry.server.tsx:82:56
    at new Promise (<anonymous>)
    at handleBrowserRequest (C:\Dev\Repos\Nebim\dev-e.eradev.cloud\src\entry.server.tsx:79:12)
    at handleRequest (C:\Dev\Repos\Nebim\dev-e.eradev.cloud\src\entry.server.tsx:18:11)
    at handleDocumentRequestRR (C:\Dev\Repos\Nebim\dev-e.eradev.cloud\node_modules\@remix-run\server-runtime\dist\server.js:229:20)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at requestHandler (C:\Dev\Repos\Nebim\dev-e.eradev.cloud\node_modules\@remix-run\server-runtime\dist\server.js:67:18)
    at C:\Dev\Repos\Nebim\dev-e.eradev.cloud\node_modules\@remix-run\express\dist\server.js:39:22
GET /en 500 - - 1021.800 ms

like that what you prefer for fix error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.