Giter Site home page Giter Site logo

nc-client's Introduction

nc-client

An alternative and experimental client for the blockchain game NextColony.

Demo: nc-client.jarunik.com/

Documentation about NextColony: jarunik.github.io/nc-docs/

Official Game Client: nextcolony.io

Contributing

Contributions to the web client are very welcome.

Please open issues for feedback, ideas, change request and bug reports.

To help with development:

  1. Fork the repository
  2. Create a feature branch
  3. Make a pull request
  4. Let jarunik know on Discord: discord.gg/A8tH9Vv
  5. Jarunik will review, discuss and merge the pull request.

In case you want to do bigger changes: Please describe them in an issue and discuss them with jarunik before implementation.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Environment Variables

Please check .env for environment configurations.

Example:

VUE_APP_ROOT_API=https://nextcolony.io/api
VUE_APP_STEEMCONNECT_APP=nc-client
VUE_APP_JSON_ID=nextcolony

You can create a local file .env.development.local to use a different configuration during development. This will only work if you have a server providing the needed API's. npm run server will use the .env.development environment by default.

VUE_APP_ROOT_API=https://locahost:8080/api
VUE_APP_STEEMCONNECT_APP=nc-client
VUE_APP_JSON_ID=nextcolony.test

More information about Environment Variables in VueJS: cli.vuejs.org/guide/mode-and-env.html#modes

VUE_APP_ROOT_API

The root of the API server that will provide the data through an API as specified here: jarunik.github.io/nc-docs/api/

Example call that will be created: VUE_APP_ROOT_API + "/loaduser"

VUE_APP_STEEMCONNECT_APP

This is the steemconnect app that will be used to manage the authorities. You will have to create your own to whitelist your IP.

You can find the information to create the Steemconnect App registration here: app.steemconnect.com/apps/create

VUE_APP_JSON_ID

You have to include the correct ID in order that the backend server will pick up your JSON transactions.

You can find more information about the JSON format here: jarunik.github.io/nc-docs/json/

The currently productive game server uses the id: nextcolony.

nc-client's People

Contributors

bonustrack avatar jarunik avatar lolboysgaming avatar taitux 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.