Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lupine.js is a full-featured web application that includes both Front-End and Back-End services. The Front-End, lupine.web, is an extremely lightweight framework using React TSX syntax. The Back-End, lupine.api, is a highly efficient and simplified framework similar to Express. It supports server-side rendering from scratch.

License

Notifications You must be signed in to change notification settings

uuware/lupine.js

Repository files navigation

lupine.js

Lupine.js is a full-featured web application that includes both frontend and backend. The frontend, Lupine.web, is an extremely lightweight framework (7kb gzipped for a hello-world project with all core features) using React TSX syntax. The backend, Lupine.api, is a highly efficient and minimalistic framework similar to Express. It supports server-side rendering (SSR) from scratch, Page Router, CSS-in-JS, .env file, Theme, Mobile and Desktop, HTTPS and multiple domains in one instance.

Hello World

const HelloPage = () => {
  const css: CssProps = {
    padding: '20px',
    textAlign: 'center',
    h1: {
      color: 'blue',
      '&:hover': {
        color: 'red',
      },
    },
  };
  const dom = new HtmlVar('0');
  return (
    <div css={css}>
      <h1>Hello World</h1>
      <p>This is a simplified Lupine.js project.</p>
      <p>{dom.node}</p>
      <button onClick={() => (dom.value = (Number(dom.value) + 1).toString())}>Increment</button>
    </div>
  );
};

Getting Started

Read the docs, 中文

CV Starter is powered by Lupine.js You can view the live demo here:

The is the source repository, and you can fork it directly as your starting point:

AI Assisted Development

This project includes a specialized context file for AI coding assistants.

  • File: AI_CONTEXT.md (Project Root)
  • Usage: When asking an AI to write code for this project, always ask it to "Read AI_CONTEXT.md first" or copy-paste the relevant sections into your prompt.
  • Purpose: It contains critical rules (e.g., "No React Hooks", "Use HtmlVar") and design patterns unique to Lupine.js that standard AI models may not know.

Example Prompt

"Read AI_CONTEXT.md first. Create a 'User Profile' component that includes a standard settings list (Avatar, Name, Email) and a save button. Use the SliderFrame navigation pattern."

Check Code frequency (steps)

https://api.github.com/repos/uuware/lupine.js/languages Or GitHub -> Code -> Insights -> Code frequency

About

lupine.js is a full-featured web application that includes both Front-End and Back-End services. The Front-End, lupine.web, is an extremely lightweight framework using React TSX syntax. The Back-End, lupine.api, is a highly efficient and simplified framework similar to Express. It supports server-side rendering from scratch.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published