Giter Club home page Giter Club logo

server's Introduction

asapD Server

This project is carried out with an offer from Pablo Airlines. It consists of three parts: server, Android, and Arduino under the theme of building a user authentication-based door lock system.

Progress period : 2022.09.04 ~ 2022.09.28

Hosted by: kusitsm

๐Ÿ˜Ž Getting Started

  1. Install server application.
  git clone https://github.com/asapD/server.git
  1. Execute docker-compose to run db server.
  docker-compose up
  1. Run spring boot project in IntelliJ.

๐Ÿงพ What we use

  • Server



  • Secure



  • Database



  • Environment





  • etc


๐Ÿ“ Architecture of system

image

image

โฌ‡๏ธ Flow Scenario

image

  1. ํšŒ์›๊ฐ€์ž…ํ•œ ์‚ฌ์šฉ์ž๊ฐ€ asapD ์–ดํ”Œ์„ ํ†ตํ•ด ์ƒํ’ˆ์„ ์ฃผ๋ฌธํ•œ๋‹ค.
  2. ์„œ๋ฒ„์—์„œ ์ฃผ๋ฌธID์™€ ์‚ฌ์šฉ์žID, prefix ๊ฐ’์„ ํ†ตํ•ด serialNum์„ ์ƒ์„ฑํ•˜๊ณ  ์ด๋ฅผ Redis์— ์ €์žฅํ•œ๋‹ค. ๊ทธ ํ›„ ์‚ฌ์šฉ์ž์—๊ฒŒ serialNum์„ QR์ฝ”๋“œ๋กœ ๋ณด์—ฌ์ค€๋‹ค.
  3. ์‚ฌ์šฉ์ž๊ฐ€ ๋„์–ด๋ฝ ๊ธฐ๊ธฐ ( ์•„๋‘์ด๋…ธ )์™€ ๋ธ”๋ฃจํˆฌ์Šค ์—ฐ๊ฒฐ์„ ํ•œ๋‹ค.
  4. ๋ธ”๋ฃจํˆฌ์Šค ์—ฐ๊ฒฐ ์„ฑ๊ณต ํ›„์— ์‚ฌ์šฉ์ž๊ฐ€ ๋„์–ด๋ฝ ๊ธฐ๊ธฐ์˜ QR ์ฝ”๋“œ ๋ฆฌ๋”๊ธฐ์— QR ์ฝ”๋“œ๋ฅผ ๋ณด์—ฌ์ค€๋‹ค.
  5. ๋„์–ด๋ฝ ๊ธฐ๊ธฐ์—์„œ QR ์ฝ”๋“œ ๊ฐ’์„ ์ฝ์€ ๋’ค, serialNum์„ ์ถ”์ถœํ•˜์—ฌ ์‚ฌ์šฉ์ž์—๊ฒŒ ๋ธ”๋ฃจํˆฌ์Šค ํ†ต์‹ ์œผ๋กœ ๊ฐ’์„ ์ „๋‹ฌํ•œ๋‹ค.
  6. ์•ˆ๋“œ๋กœ์ด๋“œ์—์„œ ์ด ๊ฐ’์„ ๋ฐ”๋กœ ์„œ๋ฒ„์— ๋ณด๋‚ด์–ด, ๊ฒ€์ฆ ๊ณผ์ •์„ ๊ฑฐ์นœ๋‹ค.
  7. ๊ฒ€์ฆ ๊ฒฐ๊ณผ๋กœ 200 status์ผ ๊ฒฝ์šฐ ์•ˆ๋“œ๋กœ์ด๋“œ๋Š” ๋„์–ด๋ฝ ๊ธฐ๊ธฐ์— ๋ธ”๋ฃจํˆฌ์Šค ํ†ต์‹ ์€๋กœ open ํ‚ค์›Œ๋“œ๋ฅผ ์ „์†กํ•˜๊ณ , 400 status์ผ ๊ฒฝ์šฐ close ํ‚ค์›Œ๋“œ๋ฅผ ์ „์†กํ•œ๋‹ค.
  8. ๋„์–ด๋ฝ ๊ธฐ๊ธฐ๋Š” ์ „๋‹ฌ๋ฐ›์€ ํ‚ค์›Œ๋“œ์— ๋”ฐ๋ผ ์„œ๋ณด ๋ชจํ„ฐ๋ฅผ ์›€์ง์—ฌ ๋ฌธ์„ ์—ด๊ฑฐ๋‚˜ ์—ด์ง€ ์•Š๋Š”๋‹ค.

server's People

Contributors

yoontaeminnnn avatar dldmsql avatar isprogrammingfun avatar

Stargazers

 avatar  avatar

server's Issues

[SECURE] prefix ๊ฐ’ ๋…ธ์ถœ

์ด์Šˆ

serial Number ์ƒ์„ฑ์„ ์œ„ํ•œ prefix ๊ฐ’ ๋…ธ์ถœ

ํ•ด๊ฒฐ๋ฐฉ์•ˆ

.env ํŒŒ์ผ๋กœ ์ด๋™

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.