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

Technical roadmap #2

Open
fraxken opened this issue Sep 4, 2022 · 1 comment
Open

Technical roadmap #2

fraxken opened this issue Sep 4, 2022 · 1 comment

Comments

@fraxken
Copy link
Member

fraxken commented Sep 4, 2022

Hello 👋

I'm creating this issue to discuss with the team (@NodeSecure/core and @NodeSecure/contributor) what steps we should take to implement the database project.

The way I personnaly see it:

  1. Proxy npm registry (API compliance with stream of new entries).
  2. Attach new API to run side analysis (with Scanner, JS-X-Ray and Vulnera).
  3. Iterate on new metrics using data collected in 1 and 2.

Step 1 already involves a lot of work and we have to discuss the database to pick (I personally think MongoDB is good choice).

The API would be written with Fastify.js framework and TypeScript as language. Then we need to define a pipeline to inject packuments and manifest (and how often we want to hit npm registry).

WDYT ?

@tony-go
Copy link
Member

tony-go commented Sep 5, 2022

Hey @fraxken 👋

Thanks for taking the plunge.

Proxy npm registry (API compliance with stream of new entries).
Attach new API to run side analysis (with Scanner, JS-X-Ray and Vulnera).
Iterate on new metrics using data collected in 1 and 2.

Regarding the points above, I'm a bit confused. Maybe could you formulate them with this template (el Famoso): "As a XXX I can do XXX "?

(I personally think MongoDB is good choice).

If we know that the structure is able to change a lot, yeah it could ^^

The DB choice brings another topic to the table: how could we finance it?

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

No branches or pull requests

2 participants