GithubHelp home page GithubHelp logo

nestjs 有demo吗? about weekly HOT 6 CLOSED

ascoders avatar ascoders commented on April 28, 2024
nestjs 有demo吗?

from weekly.

Comments (6)

ascoders avatar ascoders commented on April 28, 2024

可以看官方推荐的 typeorm demo:https://github.com/zachgrayio/nest-typeorm-example

from weekly.

raineliu avatar raineliu commented on April 28, 2024

在这个基础上怎么写页面,创建views目录,然后把页面文件放这里面?

from weekly.

ascoders avatar ascoders commented on April 28, 2024

一般是前后端分离的,这个可以做纯服务。页面只需要一个路由返回 html 即可。

from weekly.

raineliu avatar raineliu commented on April 28, 2024

我写了一个登录页,但是怎么把前端和后端搭建起来呢,用ngix吗?

from weekly.

ascoders avatar ascoders commented on April 28, 2024

可以不用 nginx。

建议只询问 nestjs 特色相关问题,环境搭建等基础问题可以 google。

from weekly.

DivXPro avatar DivXPro commented on April 28, 2024

说实话 typeorm 用起来还是有很多不足,最佳再试者用nestjs重构一个项目 还是用sequelize算了 只不过定义model不能用装饰器。

from weekly.

Related Issues (20)

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.