Code Monkey home page Code Monkey logo

Comments (6)

lfb avatar lfb commented on June 27, 2024

No description provided.

你好,nuxt是基于vue的服务端框架,技术栈是一样的哦

from nuxtjs-blog-web.

424363283 avatar 424363283 commented on June 27, 2024

嗯,这个我知道,我就是目前想吧完整的服务连通的跑起来,但是目前nodejs-koa-blog 有问题,连接数据库有问题,我Navicat 都可以连接成功了,但是项目里面启动跑就是有问题,
image
image
请问大佬这个怎么解决呀,node 小白,就想借鉴大佬的项目学一下

from nuxtjs-blog-web.

lfb avatar lfb commented on June 27, 2024

嗯,这个我知道,我就是目前想吧完整的服务连通的跑起来,但是目前nodejs-koa-blog 有问题,连接数据库有问题,我Navicat 都可以连接成功了,但是项目里面启动跑就是有问题, image image 请问大佬这个怎么解决呀,node 小白,就想借鉴大佬的项目学一下

你的数据库好像还没创建数据库表,

登录数据库

$ mysql -uroot -p密码

创建 boblog 数据库

$ CREATE DATABASE IF NOT EXISTS boblog DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

image

from nuxtjs-blog-web.

424363283 avatar 424363283 commented on June 27, 2024

image
image
image
image
你好,我想请问一下,我应该怎么做才能让nodejs-koa-blog 有数据,后台管理系统能登陆,前台展示页面有数据呀

from nuxtjs-blog-web.

lfb avatar lfb commented on June 27, 2024

image image image image 你好,我想请问一下,我应该怎么做才能让nodejs-koa-blog 有数据,后台管理系统能登陆,前台展示页面有数据呀

你好,启动node的项目后,可以下载一个postman工具,进行对数据增删改查

from nuxtjs-blog-web.

424363283 avatar 424363283 commented on June 27, 2024

搜噶,麻烦大佬了,我还有2个问题,第一我现在后台已经可以登陆并且发布了,但是我的next 那边获取数据没有成功,现在我的bolo-admin是http://localhost:3000/, blog-web 端口是 5002,koa-blog 端口是5001
image
我现在blog-web 去请求 5001 的接口为什么请求不成功了? 明明已经有了数据了
image
数据库里面也建立了
image
但是我的koa-blog 还是没有数据
image
是哪一步错误了,麻烦大佬指点一下,我是小白,不好意思了

from nuxtjs-blog-web.

Related Issues (1)

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.