Skip to content

HeyOmae/OMA3

Repository files navigation

OMAE V3

This is the third iteration of the Shadowrun Character generator; Omae, called OMA3 for the cool hype soulless corporate branding types.

OMA3 is a progressive web app using IndexedDB to actually SAVE your runner for the first time. Which is something that has been requested a lot. Also, because this is a progressive web app, it also means you get to use it OFFLINE. The future is now my chummers!

Technologies

OMA3 is leveraging the (currently as of 2020) latest in modern web standards and technologies. (At least until 2029 when the first Matrix Crash happens)

Want to contribute

Fork this bad boy and git gud!

If you seriously want to help message me on the twitters or reddits.

I'll start setting up a project board in github and will be more then happy to delegate work if there are people actually willing to help. I'm also willing to mentor in a purely hypothetical situation that you want to learn about web development.

I'm currently attempting to have 100% code coverage, which might get relaxed later as I have less time for this project. But that's a future problem, my current wide eyed bright future naivete thinks I really can keep it at 100% coverage.

The basics of getting started

Start locally

The quickest way to start the app from this repo is to run this command. However, this is also becoming slower and slower as the project has grown.

npm run dev

Then visit localhost:3000

But if you are not going to be actively developing but want to run it on your local machine, you'll need to first build the app

npm run build

Once done you can run the transpiled code called with

npm start

and visit localhost:3000

Testing

This will run all the unit tests in watch mode and should rerun again if you make changes

npm test -- --watch

But since there are becoming more and more tests, running them all is becoming less ideal. You can run a smaller subset after starting the tests. Hitting any key should stop the test runner, then you can press p and type in a string to filter out what you want to run. Type ahead should show you which tests will run.

Also, to check that coverage is still at 100% you can

npm test -- --coverage