Coder Social home page Coder Social logo

randeng's Introduction

服务介绍

用户体系

在目前版本,用户端仅会在公众号中存在,因此借用微信的用户体系。在通过微信登录获得了用户open_id和access_token后,保存在服务端, 并以此作为身份认证的凭证(类似用户名和密码),服务端返回基于open_id和access_token的auth_code。用户端对后台的受限访问均需附带auth_code。

管理端将有独立的用户体系,以用户名密码为凭证完成身份认证,服务端返回基于用户名和密码的auth_code。

约定:用户端访问的接口均在/user/ 下,管理端访问的接口均在/admin下。

部署方法

系统配置

系统的配置在 src/resources 目录下的 application-[profile].properties 文件中。

首先请拷贝 application-dev.properties 为 application-prod.properties (profile 名字可自行设置,建议用 prod)。

然后根据实际情况修改配置项。

打包 jar 文件

在根目录下运行 ./gradlew bootJar 即可,生成的可执行文件在 /build/libs/ 下。

启动服务

nohup java -jar -Dspring.profiles.active=prod randeng-0.0.1-SNAPSHOT.jar RDApplication.class &

randeng's People

Contributors

wuyb avatar tangyilong avatar

Watchers

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