Coder Social home page Coder Social logo

dndstats's Introduction

Installing frontend

  • run npm run build on the root
  • run npm run build on the frontend
  • upload /frontend/build folder to server

Development

  • run npm install on the root
  • run npm run build on the root
  • open one shell and go to ./db and run docker-compose up
  • open another shell to /backend folder and run npm run watch
  • open a third shell to /frontend folder and run npm run watch

Local testing

  • run docker-compose up in root folder
  • after the docker is up, navigate to:
    • localhost:3000 for the UI
    • localhost/docs for the swagger documentation
  • NOTE!! the item table search/filter functionality does not initially work for all the items because a 5thESRD item is inserted into the database only when an item is opened from the collapsible view in the table. And the search/filter only looks for items from the database, not external sources.
    • if you want to search all the 5thESRD items, go to the Item Table, set the row amount to 200, click the "Open all" icon on the top right of the table headers and then browse through all the pages. This will query and insert all 5thSRD items to the local database.
  • NOTE2!! Initially the database only has one item: The Bag of Holding

dndstats's People

Contributors

lassemon avatar

Watchers

 avatar  avatar

dndstats's Issues

dep vuln

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ moderate      │ Express.js Open Redirect in malformed URLs                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ express                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=4.19.2                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ backend                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ backend > express                                            │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1096820                     │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ moderate      │ phin may include sensitive headers in subsequent requests    │
│               │ after redirect                                               │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ phin                                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=3.7.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ backend                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ backend > jimp > @jimp/plugins > @jimp/plugin-print >        │
│               │ load-bmfont > phin                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1096967                     │
└───────────────┴──────────────────────────────────────────────────────────────┘
2 vulnerabilities found - Packages audited: 786

feature: weapon types

ability to add weapon type with weapon. for example item catogries: "weapon", "melee weapon "+ weapon type: "scimitar"

persist table filters.

use localStorage to store table filters if user navigates away from table and returns without url filters

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.