• This repository has been archived on 30/Apr/2021
  • Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    TypeScript
  • Created about 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Starter project for using Remix with Express

Please Don't Use

Please use npm init remix instead of this starter repo to create a new Remix app. This repository was archived on April 29, 2021.

Remix Starter for Express

Welcome to Remix!

This is a starter repo for using Remix with Express.

Development

After cloning the repo, rename .npmrc.example to .npmrc and insert the license key you get from logging in to your dashboard at remix.run.

Note: if this is a public repo, you'll probably want to move the line with your key into ~/.npmrc to keep it private.

Then, install all dependencies using npm:

$ npm install

Your @remix-run/* dependencies will come from the Remix package registry.

Once everything is installed, start the app in development mode with the following command:

$ npm run dev

This will run a few processes concurrently that will dynamically rebuild as your source files change. To see your changes, refresh the browser.

Note: Hot module reloading is coming soon, which will allow you to see your changes without refreshing.

Production

To run the app in production mode, you'll need to build it first.

$ npm run build
$ npm start

This will start a single HTTP server process that will serve the app from the files generated in the build step.

Documentation

Detailed documentation for Remix is available at remix.run.

Project Structure

All application source code is found in the app directory. This includes your application entry points for both server rendering (see app/entry.server.tsx) and the browser (see app/entry.client.tsx), as well as your root component and routes (see app/root.tsx and app/routes).

Everything in the public directory is served by express.static.

Don't want TypeScript?

The no-typescript branch is a version of this same starter template that uses plain JavaScript instead of TypeScript for all code in app.

More Repositories

1

react-router

Declarative routing for React
TypeScript
53,037
star
2

remix

Build Better Websites. Create modern, resilient user experiences with web fundamentals.
TypeScript
29,808
star
3

history

Manage session history with JavaScript
JavaScript
8,292
star
4

indie-stack

The Remix Stack for deploying to Fly with SQLite, authentication, testing, linting, formatting, etc.
TypeScript
1,104
star
5

examples

A community-driven repository showcasing examples using Remix 💿
TypeScript
1,055
star
6

blues-stack

The Remix Stack for deploying to Fly with PostgreSQL, authentication, testing, linting, formatting, etc.
TypeScript
956
star
7

grunge-stack

The Remix Stack for deploying to AWS with DynamoDB, authentication, testing, linting, formatting, etc.
TypeScript
434
star
8

remix-website

TypeScript
325
star
9

example-trellix

A partial trello board clone with Remix
TypeScript
283
star
10

remix-jokes

TypeScript
197
star
11

react-router-website

The React Router website
TypeScript
148
star
12

example-movies

Data loading demo in Remix
JavaScript
76
star
13

starter-vercel

Remix Starter for Vercel
TypeScript
51
star
14

advanced-remix-2023

TypeScript
49
star
15

remix-discord-bot

TypeScript
40
star
16

remix-webpack-demo

TypeScript
37
star
17

starter-architect

Remix Starter for Architect (AWS CloudFormation with arc.codes)
TypeScript
24
star
18

meetup-guides

A collection of guides for Remix meetup organizers
14
star
19

release-comment-action

A GitHub Action to automatically comment on Pull Requests and related issues about a release. Used by Remix and React Router.
TypeScript
11
star
20

v1-compat-utils

Packages that enable v1 APIs in Remix v2 to enable easier upgrades.
TypeScript
11
star
21

remix-replit-template

replit
TypeScript
6
star
22

jamstack-conf-workshop

TypeScript
4
star
23

changelog-github

TypeScript
3
star
24

react-router-api-docs

HTML
2
star