Coder Social home page Coder Social logo

tosidrop / vm-frontend Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 7.0 5.62 MB

Frontend for TosiDrop

License: MIT License

HTML 1.40% CSS 0.31% TypeScript 93.18% SCSS 3.09% Dockerfile 0.43% Shell 1.39% JavaScript 0.20%
airdrop airdrop-as-service cryptocurrency cardano cardano-community docker ergo ergo-community

vm-frontend's Introduction

vm-frontend

Welcome to the Tosidrop VM Frontend!

About

The code is split into two projects, an Express API which serves as a backend for the frontend, and a React UI which is built into static assets.

This is intended for use via Docker.

Within this repository is an Ansible playbook to install Docker on the local machine and run the containers. You can disable installing Docker by setting MANAGE_DOCKER=false in .env.

Usage

./runme.sh

Dev usage

You can run npm install and npm run from the client, server, and root folders as needed. The preferred way for testing us npm run dev from the root folder. There's a readme on the client folder you should check out.

Project uses NPM version 16. Most accurate results are obtained runnning the docker image.

Logging

Access logging is enabled in the server. It uses Morgan and the type of logs which are output can be controlled by setting LOG_TYPE to a valid Morgan log type, such as LOG_TYPE=combined for Apache Combined Log Format.

Mainnet

For Mainnet, you'll want to set the following variables to point to a mainnet instance of the backends. Also, make sure API token (and PSK) matches mainnet.

AIRDROP_ENABLED=false
CARDANO_NETWORK=mainnet
KOIOS_URL=https://api.koios.rest/api/v0
VM_URL=https://vm.adaseal.eu

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.