Coder Social home page Coder Social logo

nested-comments-system's Introduction

嵌套系統練習

使用技術

node.js 後端 (fastify)

vite 腳手架 + react.js

prisma orm node.js與數據庫(本專案使用postgresql)的操作

開發步驟

  1. 建立model

  2. model migrate to database

  3. prisma/seed.js

    • 用应用程序启动所需的数据填充你的数据库 - 例如,默认语言或默认货币。

    • 为在开发环境中验证和使用你的应用程序提供基本数据。对于使用 Prisma Migrate 的情景尤其有用,因为其需要经常重置开发时的数据库环境。s

  4. 搭建server.js

    • fastify
    • dotenv
    • @fastify/cookie
    • @fastify/cors
    • @fastify/sensible: 助於處理error to user
  5. 測試能與資料庫連結拿取資料api搭建

  6. 安裝react 路由, icons

  7. 定義async hook助於使用cal api promise在react

nested-comments-system's People

Contributors

s587427 avatar

Watchers

 avatar  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.