You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Bosn 44a11bfea4 add production config file path 7 years ago
config first submit 7 years ago
public first submit 7 years ago
scripts first submit 7 years ago
src fix #6 account API security issue 7 years ago
test fix #6 account API security issue 7 years ago
.gitignore first submit 7 years ago
.jshintrc first submit 7 years ago
.travis.yml dev 7 years ago
README.md add production config file path 7 years ago
dispatch.js first submit 7 years ago
package.json fix #6 account API security issue 7 years ago
rap2-delos.release first submit 7 years ago

README.md

RAP2-DELOS CE version (back-end data API server)

Build Status

RAP2 is a new project based on RAP1. It has two components:

  • rap2-delos: back-end data API server based on Koa + MySQL link
  • rap2-dolores: front-end static build based on React link

Resources

Deployment

development


# create database
mysql -e 'CREATE DATABASE IF NOT EXISTS RAP2_DELOS_APP DEFAULT CHARSET utf8 COLLATE utf8_general_ci'

# initialize database
npm install
npm run create-db

# execute mocha test cases & js code check
npm run check

# start server in development mode
npm run dev

production

# 1. change server config in /config/config.prod.js

# 2. start server in production mode
npm start

Author

  • Owner: Alimama FE Team
  • Author:
    • Before v2.3: all by @Nuysoft, creator of mockjs.
    • v2.4+ / CE version: Bosn(creator of RAP1) Nuysoft
    • We are looking for more and more contributors :)

Tech Arch

  • Front-end (rap2-dolores)
    • React / Redux / Saga / Router
    • Mock.js
    • SASS / Bootstrap 4 beta
    • server: nginx
  • Back-end (rap2-delos)
    • Koa
    • Sequelize
    • MySQL
    • Server
    • server: node