Giter VIP home page Giter VIP logo

m4theuzzz / character-sheet Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 707 KB

Uma aplicação Node com deploy em Electron e banco de dados simulado com JSON, a qual auxilia na criação e gerenciamento da ficha de um personagem de RPG de Mesa, baseada no sistema de Dungeons & Dragons.

Home Page: character-sheet-mocha.vercel.app

JavaScript 33.21% CSS 7.53% HTML 59.25%
nodejs vuejs electron electron-db restful-api node vue html js javascript css api

character-sheet's Introduction

Application Description

The Character Sheet is a application made for d20 system, based on D&D character sheet.

The simulated database works by writing and reading JSON files it creates on your computer, the folder name is 'db'.

Once a character is created it's indexed by Id and every change on it sheet is real-time saved.

Items and Spells will work just the same, when adding items to your character, a list will appear with every item/spell ever inserted by any characters. In the same page, there will be a option to create a new item/spell, once fully added, there will be a option to edit or delete it on the adding list.

The application is made with Node.js, being deployable thanks to Electron, the front-end comunicate with back-end through a restAPI and the fron-end is build in pre-compilated Vue.js, with style based on Bootstrap.

Application Execution

  1. Clone the repository
  2. Install the project: $ npm i
  3. Start the application: $ npm start

Build

  1. $ npm run dist

API Routing

HOST: https://127.0.0.1:37456

GET: /characters => get all characters list, returnning only name and characterId POST: /characters => create a new character with the name passed in body DELETE: /characters/:id => delete the character with that characterId

GET: /characterSheet/:id => get the Sheet of the character with that characterId PUT: /characterSheet/:id => update the simulated database with the character object passed in body

GET: /items => get all items list, returning only name and itemId PUT: /items => update the item filtered by the property itemId inside the item object passed on the body POST: /items => create a new item with the properties passed on the body

GET: /items/:id => get the item with all it's properties DELETE: /items/:id => delete the item with that itemId

GET: /items/constants => get items constants to creation of items

GET: /spells => get all spells list, returning only name and spellId PUT: /spells => update the spell filtered by the property spellId inside the spell object passed on the body POST: /spells => create a new spell with the properties passed on the body

GET: /spells/:id => get the spell with all it's properties DELETE: /spells/:id => delete the spell with that spellId

GET: /spells/constants => get spells constants to creation of spells

Melhorias

  • Mudar banco para o s3
  • Adicionar contagem de espaços de magia na ficha de magias;
  • Consertar tamanho da fonte em resoluções muito altas;

character-sheet's People

Contributors

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