Coder Social home page Coder Social logo

done-demo's Introduction

Done demo based Next.js, shadcn-ui, Supabase

本地部署

  • 下载项目到本地
git clone https://github.com/xumeng/done-demo.git
  • 进入项目目录并安装依赖
yarn install 
或
npm i 
  • 重命名 .env.local.example.env.local 并修改配置:
NEXT_PUBLIC_SUPABASE_URL=[INSERT SUPABASE PROJECT URL]
NEXT_PUBLIC_SUPABASE_ANON_KEY=[INSERT SUPABASE PROJECT API ANON KEY]

NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEY 可在此处获取 Your Supabase project's API settings

  • 本地运行
npm run dev

服务会运行在 localhost:3000

技术栈

  • 全栈框架:React + Next.js
  • UI:shadcn-ui, Tailwind CSS
  • Table:shadcn-ui/table, tanstack/react-table
  • 数据库、Auth:Supabase(基于 Postgre)
  • 部署:GitHub + Vercel

功能特点

  • React+Next.js 一站式开发
  • Serverless,Supabase + Vercel,省去单独部署服务和 DB 的工作
  • 轻业务逻辑,基于 Supabase 的 Auth 实现完善的用户体系,采用 Trigger 同步用户详细数据
  • shadcn-ui 响应式设计,支持不同平台

done-demo's People

Contributors

xumeng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.