Get the App
SLTechnology News&Howtos  ›  Development  › 

What is Spectrum?

Shulou Source: shulou.com Published: 2022-06-02 15:50:09 10月02日 Update

This article introduces the knowledge of "what is Spectrum". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

What is Spectrum?

Spectrum (Spectrum) is a simple and powerful online community designed to be the best platform for building any type of online community by combining the best forums and real-time chat applications.

Spectrum uses Node.js for the server technology stack and provides services for front-end applications. The specific technology stack is as follows:

ReThinkDB: data storage

Redis: back-end jobs and caching

GraphQL:API, driven by the entire Apollo tool chain

Flowtype:Type-safeJavaScript

PassportJS: authentication

React: front-end APP

Installation of Spectrum

Download the source code

Gitclone https://github.com/withspectrum/spectrum.git

Cdspectrum

Install RethinkDB

Install Redis

Install yarn

Installation dependency

Nodeshared/install-dependencies.js

Migrate the database

Rethinkdb

Yarnrundb:migrate

Yarnrundb:seed

Get Secret

Cpnow-secrets.example.jsonnow-secrets.json

Run API

Yarnrundev:api

Run the front end

Yarnrundev:web

Run Desktop app

Yarnrundev:desktop

That's all for "what Spectrum is". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Front end run content application technology data more knowledge community program spectrum online application service practical powerful successful learning next dilemma reality Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Xiaomi vpn OPPO Reno Redmi