Giter Club home page Giter Club logo

frontend's Introduction

README

Overview

The FrontEnd is the web portal for users of Nano. It hosts HTML5 web pages based on the REST API of the Core module and also provides authentication and user management for the web portal.

You can modify pages in the path "resource" to meet your need, or even write a whole new module using REST API to replace this one.

Binary release found here

See more detail for Quick Guide

Official Site: https://nanos.cloud/en-us/

REST API: https://nanoen.docs.apiary.io/

Build

#git clone https://github.com/project-nano/frontend.git
#cd frontend
#go build -o frontend -i -ldflags="-w -s"

Command Line

All Nano modules provide the command-line interface, and called like :

< module name > [start | stop | status | halt]

  • start: start module service, output error message when start failed, or version information.
  • stop: stops the service gracefully. Releases allocated resources and notify any related modules.
  • status: checks if the module is running.
  • halt: terminate service immediately.

You can call the FrontEnd module both in the absolute path and relative path.

#cd /opt/nano/frontend
#./frontend start

or

#/opt/nano/frontend/frontend start

Please check the log file "log/frontend.log" when encountering errors.

Configure

Configuration stores in file 'config/frontend.cfg'.

Parameter Description
address Listening address of web portal, IPv4 format like '192.168.100'.
port Listening port of web portal, 5870 in default as integer.
service_host Listening address of backend service(the Core module), IPv4 format like '192.168.100'.
service_port Listening port of backend service(the Core module), 5850 in default as integer.

frontend's People

Contributors

bokuore 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.