GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - noxum/new-wave-stack: This remix stack contains components and api helpers to build a website maintained with NovaDB

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
mocks
mocks
 
 
public
public
 
 
remix.init
remix.init
 
 
styles
styles
 
 
test
test
 
 
.dockerignore
.dockerignore
 
 
.env.template
.env.template
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
remix.config.js
remix.config.js
 
 
remix.env.d.ts
remix.env.d.ts
 
 
start.sh
start.sh
 
 
tailwind.config.js
tailwind.config.js
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

NovaDB meets Remix - New Wave Stack

This remix stack contains components and api helpers to build a website maintained with NovaDB.

Learn more about Remix Stacks.

This stack is still in an early stage.

What's in the stack

  • Examples how to fetch NovaDB data using the Delivery Api endpoints
  • Some sample components and pages to get a feeling how NovaDb data could be fed to the Remix framework
  • Static Types with TypeScript
  • Styling with Tailwind
  • Local third party request mocking with MSW
  • Code formatting with Prettier
  • Linting with ESLint

Quickstart

npx create-remix --template noxum/new-wave-stack

After the install phase, you will be asked for an Delivery Api endpoint. If you don't have one yet, just answer with no, by default the app will use mocked data for all api requests. If you want to connect to a real NovaDB instance, please contact us.

The api setup prompt does not support Windows yet

Development

  • Start dev server:

    cd <your project folder>
    npm run dev

This starts your app in development mode, rebuilding assets on file changes.

Relevant code:

  • api settings are stored locally in .env.
    • If you change the api endpoint here, please update the handlers too, otherwise the mocking won't take effect.
  • helpers for accessing the Delivery API ./app/api/novaDb.ts
  • A set of components ./app/components
  • mock request handlers used by MSW ./mocks/handlers.ts

Type Checking

This project uses TypeScript. It's recommended to get TypeScript set up for your editor to get a really great in-editor experience with type checking and auto-complete. To run type checking across the whole project, run npm run typecheck.

The existing typings are still weak. We will replace them with auto-generated types in the future.

Linting

This project uses ESLint for linting. That is configured in .eslintrc.js.

Formatting

We use Prettier for auto-formatting in this project. It's recommended to install an editor plugin (like the VSCode Prettier plugin) to get auto-formatting on save. There's also a npm run format script you can run to format all files in the project.

More to come

This is just the start, we will continuously improve this stack.

  • use of a code generator for typings
  • example to build a dynamic website based on a NovaDB sitemap tree

About

This remix stack contains components and api helpers to build a website maintained with NovaDB

Topics

remix-stack

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

4 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.