Giter Site home page Giter Site logo

cspheartsync's Introduction

[OPENSOURCE] Source code của CSP Heartsync

Overview

  • CSP Heartsync là chatbot giúp bạn có thể kết nối với mọi người trong CSP
  • CSP Heartsync là sản phẩm của Trần Công Việt An và Nguyễn Hoàng Minh, được sở hữu và quảng bá bởi CLB Công Nghệ ADaPT

Development

Khung xây dựng tính năng

  • Xử lí start user's session
    • Xử lí check user's status
  • Xử lí lựa chọn giới tính
  • Xử lí trong khi nhắn tin
    • Xử lí lọc tin nhắn
  • Xử lí kết thúc user's session
    • Xử lí destroy session

Công nghệ sử dụng:

  • Node.js
  • MongoDB
  • Express

Hướng dẫn sử dụng

Yêu cầu

  • Một máy chủ ảo VPS Linux hoặc Windows có cài sẵn các công cụ sau: Apache(Nginx), NodeJS min 8.9.4 LTS (Recommend 9.3.0) và MongoDB
  • Một page Facebook
  • Một App Facebook đăng kí tại api.facebook.com

Cách thiết lập: Thiết lập trong file ".env" đối với bạn nào dùng heroku thì thêm 1 file Procfile rồi thêm content nó là: web: node index.js

  • Mặc định MongoDB có url là: mongodb://localhost:27017
  • Với bạn nào dùng VPS vui lòng mở port 2345
  • Sau khi hoàn tất dùng lệnh cài đặt các package cần thiết
    npm install 
    hoặc
    yarn
  • Bạn có thể dùng pm2 để giữ app chạy khi bị crash

Và cuối cùng nếu app có lỗi vui lòng Issues lại để chúng mình fix nhé

cspheartsync's People

Contributors

nghminh163 avatar

Watchers

James Cloos avatar Xuan-An Phan 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.