stack/packages/stack-server
Zai Shi 9e9907f2b3
New UI system (#5)
* added stack-ui package

* added ui elements

* fixed react package type bug, added deleted components back

* updated button and typography interface

* added element provider

* moved all elements to element context

* added ui-joy

* moved UIPage component and update Button component

* added StackUIProvider

* added UI framework switch

* changed theme to colormode

* changed StackUIProvider interface

* updated file names

* updated package config

* fixed types and dependencies

* fixed color theme

* added custom button

* converted signin page to stack-ui

* moved oauth button stack-ui

* fixed styling bugs

* changed color/variant interface for button and text

* moved credential sign up to stack-ui

* moved card header and divider to stack-ui

* moved card-frame to stack-ui, fixed bugs

* fixed bugs, added global bg color to dev app

* moved forgot password to stack-ui

* updated styling

* moved form warning text to stack-ui

* added redirect message card to stack-ui

* moved everything to stack-ui, removed daisy and tailwind

* added joy input

* simplified code

* fixed joy button

* restructured UI provider interface

* made joy color mode work

* fixed small ui bugs

* updated demo, changed constant structures in stack-ui

* added select ui to demo

* added joy ui text

* added mui divider

* Used dynamic elements to replace useElements hook

* changed full page behaviour (100vh => 100%)

* added auto detect parent to cardframe

* updated documentation

* updated customization overview

* updated custom color doc

* fixed system color mode bug

* fixed select visual on safari

* changed UI provider interface

* renamed files to lower case

* fixed import bug

* finished custom colors doc

* added docs for custom components

* removed wrong cased files

* updated custom pages docs

* updated custom component docs

* elements -> components

* fixed missing rename

* fixed broken links in docs

* removed tailwind css import in stack

* fixed typos and small problems

* cleaned up package.json files

* updated dependencies

* fixed stack-server bug (webpack xxx not a function and u type error)

* updated setup doc

* added changeset

* fixed the 'use client' bug in stack-ui

* merged stack-ui and stack-ui-joy into stack

* renamed StackUIProvider to StackTheme

* unified imports

* added hook details to custom color doc
2024-03-21 10:51:53 +01:00
..
prisma added migration file 2024-03-13 10:41:33 +08:00
public updated logo 2024-02-28 16:45:27 +01:00
scripts Move code (initial commit) 2024-02-28 14:35:30 +01:00
src New UI system (#5) 2024-03-21 10:51:53 +01:00
.env Head tags 2024-03-08 06:23:02 +01:00
.eslintrc.cjs Move code (initial commit) 2024-02-28 14:35:30 +01:00
.gitignore Move code (initial commit) 2024-02-28 14:35:30 +01:00
.npmrc Move code (initial commit) 2024-02-28 14:35:30 +01:00
backend-design-doc.md Initiate backend rework (#6) 2024-03-18 01:40:40 -07:00
CHANGELOG.md published new npm version 2024-03-13 11:13:16 +08:00
LICENSE Licenses 2024-02-28 15:27:00 +01:00
mdx-components.tsx Move code (initial commit) 2024-02-28 14:35:30 +01:00
next.config.mjs Source maps 2024-03-04 22:46:07 +01:00
package.json New UI system (#5) 2024-03-21 10:51:53 +01:00
README.md Move code (initial commit) 2024-02-28 14:35:30 +01:00
tsconfig.json New UI system (#5) 2024-03-21 10:51:53 +01:00

N2D4's frontend-starter

Getting started

First, copy the .env file into .env.local and fill in the necessary environment variables.

Then, install the dependencies:

cd the-folder-with-your-project
npm install

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

To re-run the code generation (e.g. after changing the Prisma schema), run:

npm run codegen

You can also access the Prisma CLI:

npm run prisma -- <args-to-prisma-command>