Code Monkey home page Code Monkey logo

fangsbuilder's Introduction

Running through azure cdn(classic): https://fangsbuilder.azureedge.net
The actual storage account's $web: https://prodstafangsbuilder.z6.web.core.windows.net/

Currently being rewritten here: https://github.com/nichitacebotari0/FangsBuilder-ng .With desire to add features involving backend: https://github.com/nichitacebotari0/api , specifically: auth using discord Fangs Server Roles(done), persisting builds, voting on builds(see which builds are good), add guides and potentially automatically list all guides for a particular build as youre making that build in the editor(use the build editor like a search engine), and other interesing ideas

Features:

Browse to particular hero using solid-router. Create a build for that hero which is encoded into a string and written as a querystring param into the link. Link is shareable, pasting it in will show the same build again, meaning you can share your build with others. Implementation is purely front end, hosted in an azure storage container, served through azure CDN(Microsoft Classic).

Deployment using Github Actions to Azure storage container created with terraform.

Stuff done manually:

  1. Created Service principal using az ad sp create-for-rbac with contributor role for subscription
  2. Assigned him storage blob data contributorrole for the resource group
  3. In case I want to delete a dir: az storage blob directory delete --account-name accountname --container-name '$web' --directory-path Heroes --recursive
    Annoying because you need to use a --marker for subsequent calls until it finishes deleting everything
  4. Upload static files folders one by one to storage account using az cli
    A) for single file: az storage blob upload -c '$web' --account-name accountname -f .\Heroes\Hero\filename.json -n Heroes\Hero\filename.json --overwrite
    B) for bunch: az storage blob upload-batch --source .\Heroes --account-name prodstafangsbuilder --destination '$web' --destination-path \Heroes

fangsbuilder's People

Contributors

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