Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niceleader/skill-check-testing
Tasks: Fix verification issue on register and login; Add Wallet connect on profile page using web3; Add current Eth price on user profile page.
https://github.com/niceleader/skill-check-testing
Last synced: about 2 months ago
JSON representation
Tasks: Fix verification issue on register and login; Add Wallet connect on profile page using web3; Add current Eth price on user profile page.
- Host: GitHub
- URL: https://github.com/niceleader/skill-check-testing
- Owner: NiceLeader
- Created: 2024-05-08T19:16:19.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-10T21:50:01.000Z (9 months ago)
- Last Synced: 2024-05-10T22:44:19.852Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.99 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
Run `npm install` command in root folder and backend folder
```
npm install
```
## How to Run```
npm run dev
```## Establishment
Run 'npm install' command in root organizer and backend envelope
'''
npm introduce
'''
## How to Run'''
npm run dev
'''## Extend Usage:
### Settling Confirmation Issues on Enrollment and Login:
- Adjusted the npm server script to guarantee legitimate operation.
- Essential to run the backend locally as the address 'https://mglcoin.io/api/' was inaccessible.
- Empowered Docker arrangement with 'docker-compose.yml' to run MySQL in a holder, encouraging nearby testing.
- Upgraded e-mail arrangement by supplanting an inert e-mail with a unused one arranged for app secret word informing.### Joining Ethereum Cost on the Profile Page:
- Situated Ethereum cost data at the best of the profile page beneath "Add up to Adjust Cost."
- ETH cost recovered utilizing the existing token cost recovery instrument, utilizing DEXs on chosen systems (Quickswap for Polygon and Pancakeswap for BSC) utilizing WETH token addresses.### Actualizing Wallet Interface Usefulness on the Profile Page:
- Created a straightforward wallet association usefulness from scratch with Metamask due to reliance clashes and form prerequisites.
- Included a "Wallet Interface" button within the "Outside Wallet" menu to empower association on the off chance that Metamask is introduced.
- Given a detach usefulness that resets the wallet address state variable. In spite of the fact that it doesn't completely disengage as Metamask remains dynamic.### Database Design Recommendations:
- **Table Naming Conventions**: Use plural names for tables to indicate they contain multiple records (e.g., `users`, `transactions`).
- **Consistency in Field Naming**: Apply consistent naming conventions for all fields across tables.
- **Primary Key Naming**: Use a consistent format for primary keys across all tables.
- **Data Normalization**: Reduce redundancy and improve data integrity through normalization.
- **Indexing**: Ensure that all foreign keys and frequently queried fields are indexed to improve query performance.
- **Use of ENUMs**: Evaluate the use of ENUM type fields and consider replacing them with references to lookup tables if the list of values changes frequently.
- **Security Considerations**: Encrypt or hash sensitive data, particularly passwords and personal identifying information.### Perceptions and Potential Changes:
- The extend contains both 'package-lock.json' and 'yarn.lock' records, recommending a choice is required to settle on one bundle supervisor.
- Numerous out of date conditions constrain the capacity to utilize more current libraries.
- A need of code designing devices such as Prettier or ESLint which may offer assistance keep up code cleanliness.
- Proposed presenting robotization utilizing Imposing for commits to actualize quality doors.
- Contrasts in coding styles, outstandingly utilizing async/await versus callbacks, suggest reliable utilize of async/await for way better meaningfulness and maintaining a strategic distance from settled callbacks.
- No fast way to run the backend locally beyond MySQL, which may well be extended to incorporate a full Docker environment.
- Thought for more secure strategies of overseeing cryptographic keys, such as outside administrations like Web3Auth or OpenZeppelin Guard Transfer.### Recommended Major Changes for Way better Upkeep and Code Quality:
- Utilizing TypeORM or Prisma for database access and pattern administration.
- Moving to TypeScript for moved forward sort administration and code security.