https://github.com/l3wi/gearbox-ninja
A fun UI for the Gearbox Protocol's V2 Launch
https://github.com/l3wi/gearbox-ninja
melonjs react web3
Last synced: 6 months ago
JSON representation
A fun UI for the Gearbox Protocol's V2 Launch
- Host: GitHub
- URL: https://github.com/l3wi/gearbox-ninja
- Owner: l3wi
- Created: 2022-11-15T18:36:32.000Z (over 3 years ago)
- Default Branch: next
- Last Pushed: 2022-11-15T19:12:16.000Z (over 3 years ago)
- Last Synced: 2024-05-22T12:34:12.087Z (about 2 years ago)
- Topics: melonjs, react, web3
- Language: TypeScript
- Homepage:
- Size: 59.9 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gearbox Ninja UI

A simple React & MelonJs based app to interact with the Gearbox V2 launch, built with :
- melonJS 2
- React JS
- Styled Components
- Redux
- Wepback 5
## Prerequisites
Ensure you have [Node.js](http://nodejs.org/) installed, then install all the build dependencies in the folder where you cloned the repository :
$ yarn
## Usage
- `npm run dev` to start the dev server on watch mode at `localhost:9000`.
- `npm run build` to generate a minified, production-ready build, in the `public` folder
## Folder structure
```none
src
├── game
| ├── manifest.tsx
| └── data
| ├── bgm
| ├── img
| └── map
├── store
├── hooks
├── config
├── utils
├── index.tsx
└── index.html
```
- `src`
- the root folder app
- The entry file is [index.tsx](src/index.tsx).
- houses both the webapp and the game
- `src/game`
- [manifest.js](src/manifest.js) is a list of game asset to be preloaded by melonJS
- `src/index.html`
- entry point to the both the game and application
- `public`
- where the production-ready build files will be copied/generated when using `npm run build`
## Questions, need help ?
- Open a github ticket with a clear question or issue
- contact lewi#3000 on discord