Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

helloastral/Shopfiy-App-Nest-Remixed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nest Remixed

NestJS starter with Remix frontend. This repo is a yarn workspace with two packages: server and remix

Features

  • Remix js HMR
  • Watch mode for NestJS
  • One server for both frontend and backend
  • Yarn workspace

Installation

yarn

Running the app

yarn dev

Route configuration

  • All /api routes go to Nest js
  • All /build and /assets is served by nest from /remix/public
  • All other routes go to Remix

References

Assets

Because we use nest to serve remix and both have a concept of assets, We are going to serve assets using our nest js server. But the asset should be placed in /remix/public/assets folder.

Migration

  • Replace all import shopify from 'src/lib/shopify' with the shared service shopify.service.ts
  • Replace ShopClient("Session") session decorator with ShopSession() session

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published