Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Front-end navigation website, used to collect high-quality front-end related websites from both domestic and foreign sources for convenient personal use

Notifications You must be signed in to change notification settings

serverless-coding/nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

226 Commits

Repository files navigation

科技导航

Example demo page

Todo

  • Add tailwindcss
  • Light/Dark mode
  • Database concention
  • Authentication
  • Adapt to mobile devices
  • One click deploy
  • And animation by use Framer Motion
  • User like and collection
  • 更换图标, sidebar.tsx
  • github图标暂时隐藏
  • 关于页面

WebNav

Front-end navigation website, used to collect high-quality front-end related websites from both domestic and foreign sources for convenient personal use

This project is highly inspired by Taxonomy, For learning purpose, to learn how to build a modern app using Next.js 13(with many features like authentication, API routes, static pages for docs, orm, ...etc)

Features

  • New /app dir
  • Server and Client Components
  • UI Components built using Radix UI
  • Styled using Tailwind CSS
  • Dark mode with next-themes
  • Authentication using NextAuth.js
  • ORM using Prisma
  • MySQL Database on PlanetScale
  • Written in TypeScript

Deploy Your Own

You can clone & deploy it to Vercel with one click:

Deploy with Vercel

Running Locally

  1. Install dependencies using pnpm:
pnpm install
  1. Copy .env.example to .env and update the variables.
cp .env.example .env

3、sync database table

npx prisma db push
  1. Start the development server:
pnpm dev

Running the development server

First, run the development server:

<userPrompt>
Rewrite the code in the current editor to incorporate the suggested code change.
</userPrompt>
### 使用postgressql
修改schema.prisma和.env里的配置
## vercel 里go的api
不是api的util代码必须放在_+目录名下如_pkg
https://github.com/vercel/vercel/discussions/7000
### vercel go api和next-auth冲突了
next-auth里通过前端代码实现了auth接口,同时使用go serverless api 在构建时会覆盖?两边的api没法同时存在于一个项目
参考:
https://github.com/nextauthjs/next-auth/issues/6684

About

Front-end navigation website, used to collect high-quality front-end related websites from both domestic and foreign sources for convenient personal use

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 59.6%
  • CSS 37.4%
  • JavaScript 2.2%
  • Other 0.8%

AltStyle によって変換されたページ (->オリジナル) /