Skip to content
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

Clean server folder, refactor and merge wih scripts in /src #50

Open
2 tasks
esteblock opened this issue Dec 10, 2024 · 52 comments
Open
2 tasks

Clean server folder, refactor and merge wih scripts in /src #50

esteblock opened this issue Dec 10, 2024 · 52 comments

Comments

@esteblock
Copy link
Member

Currenly a lot of files where copied and pasted from the /info repo
image
Also, a lot of logic is being described in 2 places., both inside the /server/utils and in /sripts/utils

Having the logic inside the scrips folder is important in order to test that the tables are giving the correct information (check yarn test in the main folder)

  • Remove unused files and functions that were copied and pased from the info repo
  • Move all the logic on how to extract info into one single folder. We prefer to use the /scrips folder in order to test the tables.
@wheval
Copy link

wheval commented Dec 12, 2024

Hello @esteblock,
Can I fix this?

ETA is 1 day.

@emarc99
Copy link

emarc99 commented Dec 12, 2024

Mind if I take this issue? I will do test to ensure things are working properly. ETA 2days
Please let me do this as first time contribution.

@FrankiePower
Copy link

I am Super Franky, a frontend developer and recent graduate from web3bridge africa, the premier and biggest blockhain developer community in Africa. I can handle this task properly. l start out with studying the code base, then search out for the duplicate files and logic and delete them.
ETA: 1 Day

@kayceeDev
Copy link

Hi, My name is leonard.
I am a skilled software engineer with an extensive knowledge in Typescript, javascript and low level languages.

How I will tackle this,
I will for the repo and clone it the take time to study the codebase and investigate the affected files and folders.

Then I will remove all duplicates codes and refator them using industry standard codes.

I will removed unused files and function.
I will test estensively to ensure nothing is broken.

My ETA for this is 21 hrs

@FrankiePower
Copy link

I am Super Franky, a frontend developer and recent graduate from web3bridge africa, the premier and biggest blockhain developer community in Africa. I can handle this task properly. l start out with studying the code base, then search out for the duplicate files and logic and delete them.
ETA: 2 Days

@mimisavage
Copy link

Could I grab this task?

@BrunoAmbricca
Copy link

I would like to work on this issue

@khayss
Copy link

khayss commented Dec 12, 2024

I'd love to work on this!

I'll remove the unused files and functions, re-organize the logic to extract info into a single folder. This is well within my ability and skill set. I write Rust, Typescript with great experience.

@DuendexCR
Copy link

Could I grab this task?

@Jagadeeshftw
Copy link

Hi @esteblock, I’d love to work on this issue as I have strong experience in building and managing APIs, handling server-side operations, and ensuring robust back-end performance. I’ve developed secure and efficient smart contracts, blockchain integrations, and high-performance backend systems.

My approach:

  1. I’ll start by identifying and removing unused files and functions from the /server folder to address this issue.
  2. Then, I’ll refactor the logic and merge it into the /scripts folder to ensure consistency.
  3. Finally, I’ll verify functionality by running tests on the merged code.

and If assigned, I’ll ensure that I deliver a robust and high-quality PR within 12-24 hours.

@DanielVillatoro
Copy link

Hi, can I take this? I’ll clean up unused files, consolidate the logic into the /scripts folder, and ensure everything is properly refactored and tested.

@greatest0falltime
Copy link

Hi @esteblock , I’d be thrilled to work on this issue as I have extensive experience in back-end development, including API integration, database optimization, and building scalable server-side solutions.

My Plan:
I will clean up the /server folder by removing redundant files copied from the info repo. Next, I’ll refactor and consolidate the extraction logic into the /scripts folder to align with testing requirements. The changes will be tested using yarn test in the main directory.

ETA:
I expect to have a working solution ready within the next 24 hours. Kindly let me know if I can proceed!

Looking forward to contributing!

@ShantelPeters
Copy link

Could I take over this issue?

@tosinmoses384
Copy link

Can I be assigned to this?

@GideonBature
Copy link

Can I take this from here?

I am a Software Engineer with experience in Rust and JavaScript/TypeScript. If assigned this issue I will send my first PR in 48 hours time.

Thank you!

@pheobeayo
Copy link

Can I jump on this task?

@blessingbytes
Copy link

i would love to fix this issue

@Nityam573
Copy link

May I try my hand at this?
My approach:

I’ll start by identifying and removing unused files and functions from the /server folder to address this issue.
Then, I’ll refactor the logic and merge it into the /scripts folder to ensure consistency.
Finally, I’ll verify functionality by running tests on the merged code.

@NueloSE
Copy link

NueloSE commented Dec 13, 2024

Can I start working on this?

@Judah04
Copy link

Judah04 commented Dec 13, 2024

@esteblock I'd love to work on this issue.

@Supa-mega
Copy link

I’m interested in this one.

@olisaagbafor
Copy link

olisaagbafor commented Dec 13, 2024

Hi @esteblock , I’d love to tackle this issue! 🚀

Plan of Action:

Audit: Identify unused files/functions from /info and overlapping logic in /server/utils and /scripts/utils.
Clean Up: Safely remove redundant files and functions.
Unify Logic: Consolidate all info extraction logic into /scripts for streamlined testing.
Test: Run yarn test to verify functionality and maintain high test coverage.
ETA: 8-10 hours.

Let’s simplify and optimize the codebase together! 🎯

@viktrified
Copy link

Gm! My name is Victory and I'm a fullstack developer. I will tackle this issue by putting files in their respected folders and renaming some directories to ensure smooth work flow.

@Dorcas18
Copy link

Let me handle this issue!

@mira4sol
Copy link

Let me try this one!

@jahrulezfrancis
Copy link

I'm interested in this one.
ETA: 2 hours

@Kingsuite
Copy link

I’m interested in this one. It will be nice to contribute to this issue

@MrRoudyk
Copy link

Let me try this one!

@Agbeleshe
Copy link

I'd like to take this issue. To address this issue, I will first identify and remove all unused files and functions copied from the /info repository, ensuring the project is clean and free from unnecessary code. Next, I will consolidate all logic related to extracting information into the /scripts folder, as it is preferred for testing table outputs with yarn test. This involves moving relevant utility functions from /server/utils to /scripts/utils and ensuring there is no duplication. I will update import paths throughout the project to reflect the new structure and test the application to confirm functionality remains intact. Finally, I will commit the changes with a clear message and submit a PR for review. ETA 24 hours

@BigBen-7
Copy link

can I solve this issue?

@davedumto
Copy link

Hi,
My name is David, a Fullstack developer skilled in TypeScript and JavaScript. As a new contributor, I’m eager to tackle the issue of consolidating logic into the /scripts folder and removing unused files from the /info repo.

I’ll ensure all redundant files are removed, logic is centralized in /scripts, and testing (yarn test) confirms table accuracy. ETA 2 days

@Amarjeet325
Copy link

Can I handle this task?

@sonkeydotcom
Copy link

May I be assigned to this?

@1nonlypiece
Copy link

Could I take on this issue?

@caxtonacollins
Copy link

I am a Full Stack Developer with two years of professional experience, specializing in web3. I have strong background in blockchain and extensive experience in Next.js/React, TypeScript, and Cairo.

I will like to take care of this.

@ryzen-xp
Copy link

Could I grab this task?

@martinvibes
Copy link

i'm a frontend dev and blockchain dev
May I try my hand at this?
i would love to work on this and get it done

@vestor-dev
Copy link

Would love to tackle this!
kindly assign :)

@3th-Enjay
Copy link

Allow me to handle this issue

@nicopobl
Copy link

Im going to solve this!

@akintewe
Copy link

Hi I am Akintewe and I’d like to work on this issue as I have experience in javascript and maintaining clear and user-friendly architecture..

ETA:
I estimate completing this task in about 12 hours. Let me know if I can get started!

@Ibinola
Copy link

Ibinola commented Dec 15, 2024

Can I contribute to this one?

@jaiminRaiyani
Copy link

May I pick this up?

@SimplementeCao
Copy link


Hey! I'm SimplementeCao 👋

I've contributed to several projects, including:

  • Cairo Book
  • Starknet Book
  • Starknet Docs
  • Starknet Security Challenges Factory
  • Starkane
  • SocialSphere
  • SafeSwap
  • SafeTrustcr

Estimated time 20hs

Feel free to check my [OnlyDust Profile] (https://app.onlydust.com/u/SimplementeCao) and my [GitHub Profile] (https://github.com/SimplementeCao) for more details about my contributions.

🛠️ Plan to Solve the Issue:

  1. Analyze the Codebase: Review its structure and functionality to understand the current implementation.
  2. Understand the Issue: Carefully read the problem description to clarify requirements.
  3. Research & Plan: Use provided resources and documentation for deeper insight.
  4. Ask Questions: Reach out in the relevant communication channels if any clarification is needed.
  5. Submit a PR: Implement the solution and submit a pull request for feedback.

Let me know if I can start working on this! 🚀


@savagechucks
Copy link

I'm Isaac, a frontend dev and I'd appreciate it if i can be assigned to this issue

@SimplementeCao
Copy link

Hi @esteblock, if there is no one assigned yet can I work on this issue?

@greatest0falltime
Copy link

Could I be assigned to this?

@DotworldX
Copy link

I’d like to help with this.

@emarc99
Copy link

emarc99 commented Dec 18, 2024

@esteblock Could I be assigned to this?
ETA- 1 day

@OthmanImam
Copy link

I'd love to give this a go.

@lalitkumawat1m
Copy link

Could I grab this task?

@ikemHood
Copy link

Hello @esteblock,

I'd like to help clean up and organize the codebase logic and file structure.

What I would be doing in this task involves:

  • Analyzing and cleaning up duplicated logic between /server/utils and /scripts/utils by:

    • Auditing existing files to identify duplicate code
    • Removing unused files copied from the info repo
    • Consolidating shared logic into the /scripts folder for better testing coverage
    • Updating imports and references to use the centralized utility functions
  • I'll ensure all table testing functionality remains intact by:

    • Preserving the test suite integration with /scripts
    • Verifying test coverage after consolidation
    • Documenting any changes needed in test configurations

I can complete this refactoring within 2-3 days, focusing on:

  • Systematic removal of unused code
  • Careful consolidation of duplicate logic
  • Maintaining test integrity
  • Clear documentation of changes

My experience includes:

  • Strong background in code organization and refactoring
  • Experience with maintaining test suites during restructuring
  • Familiarity with managing utility functions across different parts of an application

@jaykayudo
Copy link

@esteblock Can i be assigned this?
ETA - 24 hours

@ekumamatthew
Copy link

Could I take a shot at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests