Giter VIP home page Giter VIP logo

opnc's Introduction

README logo

Development of access management system for major facilities using smart phone and beacon sensor (BLE)

πŸ“… Development Period

2022.08.08. ~ 2022.10.27. (About 3 month)

πŸ‘‰ Contributor


 Copyright 2022. Hannam University, SMART BeaconTeam(HCS-Beacon Contributor) All of source cannot be copied without permission.

πŸ‘‰ How to use

FE

  1. $ cd .\FE\my-app (my-appν΄λ”κΉŒμ§€ 이동)

  2. $ npm i (ν•„μš”ν•œ 파일 μ„€μΉ˜)

  3. make ".env" file (my-app폴더에 .env파일 생성& ν™˜κ²½ λ³€μˆ˜ μ‚½μž…)

  4. $ npm next build (배포 및 μ„€μΉ˜)

  5. $ npm start (μ‹€ν–‰)


HW

  1. λΌμ¦ˆλ² λ¦¬νŒŒμ΄μ— node.js μ„€μΉ˜

    • Install node.js on Raspberry Pi
  2. λΌμ¦ˆλ² λ¦¬νŒŒμ΄μ—λŠ” HW ν΄λ”λ§Œ λ‹€μš΄λ‘œλ“œ ν•©λ‹ˆλ‹€.

    • Download only HW folder to Raspberry Pi
  3. λ‹€μš΄λ‘œλ“œν•œ 폴더 경둜(/'λ‹€μš΄λ‘œλ“œν•œ 경둜'/HW)μ—μ„œ 터미널을 μ—½λ‹ˆλ‹€.

    • Open terminal in downloaded folder path
  4. npm i λͺ…λ Ήμ–΄λ₯Ό μž…λ ₯ν•˜λ©΄ ν•„μš”ν•œ νŒ¨ν‚€μ§€λ₯Ό μžλ™μœΌλ‘œ μ„€μΉ˜ν•©λ‹ˆλ‹€.

    • Input $ npm i command line in terminal
  5. client.js 파일 μ•žλΆ€λΆ„ 주석을 ν™•μΈν•˜μ—¬ .env νŒŒμΌμ„ μƒμ„±ν•˜μ—¬ μž‘μ„±ν•©λ‹ˆλ‹€.

    • Check comment Client.js file μ•žλΆ€λΆ„μ„ and Make .env file edit
  6. μ„œλ²„κ°€ μž‘λ™λ˜μ–΄μžˆλŠ” μƒνƒœμ—μ„œ λ‹€μš΄λ‘œλ“œν•œ 폴더 경둜(/'λ‹€μš΄λ‘œλ“œν•œ 경둜'/HW)μ—μ„œ sudo node client.js λͺ…λ Ήμ–΄λ₯Ό μž…λ ₯ν•˜λ©΄ ν”„λ‘œκ·Έλž¨μ΄ μ‹€ν–‰λ©λ‹ˆλ‹€.

    • When the server is executing, type the commend sudo node client.js into the terminal.

BE

  1. $ cd BE (BE ν΄λ”κΉŒμ§€ 이동)

  2. $ npm i (ν•„μš”ν•œ 파일 μ„€μΉ˜)

  3. make ".env" file (BE폴더에 .env파일 생성& ν™˜κ²½ λ³€μˆ˜ μ‚½μž…)

  4. Start mariaDB (mariaDB μ‹€ν–‰)

  5. $ npm run start (μ„œλ²„ μ‹€ν–‰)

Please Check

  • Please Turn on mariaDB before server start!

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.