Coder Social home page Coder Social logo

warzone_backend's Introduction

COMP 4521 Warzone Radar Backend

This is the documentation for backend for Android APP Warzone Radar for course PA at HKUST COMP 4521.

Dependency

Node.JS: v14.17.6

MySQL: Ver 8.0.27 for Win64 on x86_64 (MySQL Community Server - GPL)

Getting Started

To have the configs for database and password, please go to the directory of config, and do the following:

  1. copy business.config.js from template.business.config.js

  2. configure domain in business.config.js

  3. copy db.config.js from template.db.config.js

  4. configure database setting

  5. To install the server

    npm install
    
  6. To compile the swgger file

    node swagger.js
    
  7. To run the server

    node start.js
    
  8. To visit the web for Swagger Documentation, ask for host's ip address, and use http://<-host-ip->:8090/api-docs/ to visit.

Backend Database Schema

This backend use MySQL database. Schemas are at here.

Swagger Documentation

You can visit the automatically generated swagger documentation at here, or once the server is launched, visit the domain:port/api-doc.

warzone_backend's People

Contributors

lwuar avatar

Watchers

 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.