Giter VIP home page Giter VIP logo

jianshu's Introduction

仿简书网站(前后端代码)

react + express + mongodb

cd jianshu

npm run start

npm run server

前端地址: http://localhost:3000/

后台地址: http://localhost:8080 + 接口名

数据库名称:jianshu

太难了 不想写了 难受 一脸蒙 😢😫

package.json 里面配置 "homepage": "." 生产地址才能正常访问

想要增加动画路由,但是被ts上的报错打败了。。。。

遇到的问题:

axios ts报错: 增加了axios.d.ts文件

如果前端发送请求时设置 withCredentials = true,后台不允许设置Access-Control-Allow-Origin为 * ,目前是之前在前端把withCredentials设置项去掉了。

jianshu's People

Contributors

summerxiahaha avatar

Watchers

James Cloos 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.