Code Monkey home page Code Monkey logo

reactaip's Introduction

hayden's aip

Front-end

npm install -g create-react-app //Global download tool
create-react-app hayden-aip-front //Download template project
Code testing:
cd hayden-aip-front
npm start
localhost:3000 //visit 3000 port
Build project:
npm run build 
npm install -g serve 
serve build
Download component library package -> Import Antd:
yarn add antd
yarn add @ant-design/compatible
Implement on-demand packaging of components -> Download dependent modules:
yarn add react-app-rewired customize-cra babel-plugin-import
Define the js module to load the configuration -> config-overrides.js
Custom Theme -> Download toolkit:
yarn add less less-loader
Router:
yarn add react-router-dom
Axios and Jsonp:
yarn add axios
yarn add jsonp
memoryUtils:
yarn add store
What u see is What u get:
yarn add react-draft-wysiwyg draftjs-to-html

Back-end

Global install express-generator:

npm install express -sage -g
npm install express-generator --save -g

Create Project:

// express myAppName
express hayden-aip-back

Enter the project, initialize dependencies, start the project:

npm install
npm start

Install necessary tools: router, cookie-parser, jsonwebtoken:

npm install router 
npm install cookie-parser 
npm install jsonwebtoken

Mongoose, multer, md5, nodemon:

npm install blueimp-md5
npm install multer
npm install mongoose
npm install nodemon

Port

Front-end: localhost:7000

Back-end: localhost:6000

reactaip's People

Contributors

haydenliuhx avatar

Stargazers

 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.