-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What improvements are needed to faciliate a developer using the ticketing repo as a boilerplate app #1194
Comments
We have a lot of disorganized "copy pasta" and commented out code that would be good to clean up. Even just a day or two on code quality improvements would benefit us and other devs using this template. Our |
We might also want to refactor and cleanup the Stripe connection logic when creating a new event. I've noticed some weird behavior that we can probably fix while cleaning things up too. I'll receive toast messages related to Stripe when I don't expect it. |
After looking through the export const NETWORK_NODE_URL =
NETWORK_ID === 'mainnet' ? 'https://rpc.mainnet.near.org' : 'https://rpc.testnet.near.org'; happen quite often. Proposal 1Why don't we split Pros:
Cons:
Also, worth to mention that along with adding two // package.json file
"scripts": {
//... here comes existed scripts
"dev": "env-cmd -f ./testnet.env next dev",
"dev:mainnet": "env-cmd -f ./mainnet.env next dev",
//... other scripts
} We can archive this using env-cmd module. WDYT @calebjacob @charleslavon @jackson-harris-iii ? |
Proposal 2Write tests for |
@shelegdmitriy It's a good question. I see pros and cons both ways. If we wanted to move towards all of these values being configured in the
|
@shelegdmitriy Also a good suggestion. I'd vote for reorganizing/refactoring our |
@calebjacob this is exactly what I'm trying to accomplish. Of course, I wasn't going to write tests until I got these files in a good shape 🙂 |
As per our discussion with @charleslavon, one of the options is to create a page or at least add a mention about ticketing app on docs.near.org somewhere under Web3 Applications? Pros of this would be an ability to find this repo using search not only on docs website but on dev.near.org also. Along with this, seems like we did pretty good job by reorganizing |
@calebjacob @jackson-harris-iii I wonder do you guys have some ideas how we can improve our repo even more? |
No description provided.
The text was updated successfully, but these errors were encountered: