Coder Social home page Coder Social logo

tomato-work-server's Introduction

tomato-work-server

WEB:tomato-work

小程序:tomato-work-weapp

服务端:tomato-work-server

开发技术

核心技术:node.js(v10+) + egg.js + mysql + sequelize...

"egg": "^2.15.1",
"egg-crypto": "^1.0.0",
"egg-jwt": "^3.1.6",
"egg-mailer": "^1.0.1",
"egg-passport": "^2.0.2",
"egg-passport-github": "^1.0.0",
"egg-passport-local": "^1.2.1",
"egg-sequelize": "^5.1.0",
"egg-validate": "^2.0.2",
"lodash": "^4.17.11",
"mysql2": "^1.6.5",
"svg-captcha": "^1.4.0",
"validator": "^11.0.0",
"node-xlsx": "^0.15.0",
"dayjs": "^1.8.15",
"markdown-it": "^10.0.0",
"highlight.js": "^9.17.0"

MySQL Setup

Simple MySQL install and config

# Install mysql
sudo apt install mysql-server
systemctl status mysql.service

# Adjusting User Authentication 
sudo mysql
mysql > SELECT user,authentication_string,plugin,host FROM mysql.user;
mysql > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';

# Create a database for tomato work
mysql > CREATE DATABASE tomato_work

# Later you can login to mysql via
mysql -u root -p

Build Setup

启动项目之前请配置数据库信息 config/config.default.js

# Install
npm i

# Port: 7003
npm run dev

# Build start
npm start

License

MIT

tomato-work-server's People

Contributors

xjh22222228 avatar

Watchers

 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.