Skip to content

code-star/streams

Repository files navigation

Codestar Streams

Streaming Platform Demo

Status

⚠️ This project is a work in progress and is not ready for production use yet!

Client

Server

Installation for local development

Install project:

npm install

Install client:

cd packages/client
npm install

Install server:

cd packages/server
npm install

Test the project:

npm run ci

Before starting the server you need to create some .env files with the keys for the external libs:

  • For local development of the client create a file in packages/client called .env.develop
  • For the production release create a file in packages/client called .env.release
  • For local development of the server create a file in packages/server called .env

Start the server

cd packages/server
npm start

This will open a browser on http://localhost:4000/ with the GraphiQL editor. You can try the following query:

  query GetStations {
    stations(pageSize: 10) {
      stations {
        id
        lat
        lng
        text
        isFocussed
        isSelected
      }
    }
  }

Start the client

cd packages/client
npm start

This will open front-end app on http://localhost:8080/

License

MIT © CODE.STΛR