
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@genesisx/mock-api-server
Advanced tools
Generator package for creating mock-api-server for using mock apis.
This is a generator for generating mock server apps created by the Genesis project
To install the package in your nx workspace run one of the below command
npm i @genesisx/mock-api-serveryarn add @genesisx/mock-api-serverSelect Generator tool from the NX console as shown in the image in your visual studio
Navigate to NX console > Generate > @genesisx/mock-api-server
And fill in the form as follows;
- appName
Mock Api Server Name that will be under apps folder of your project
-portNumber
Port Number to be changed in file called .env
Serve your mock service created through NX console > Serve > <your_project_name>
Run the below command from command line (root folder) if nx console doesnt work
nx generate @genesisx/mock-api-server:templates <mockServerName> <portNumber> --no-interactive
Run nx lint mock-api-server to execute the lint checks on this package.
Run nx build mock-api-server to build this package.
Run nx test mock-api-server to execute the unit tests via Jest.
To publish the package you must first be logged into NPM (npm login) then run this command from the root of the project.
npm publish dist/packages/mock-api-server --access public
If you're going to locally developm and run/test this package you need to build it and copy into node_modules with every change. You can simply do this by running a bash command below:
yarn nx run mock-api-server:build && cp -R dist/packages/mock-api-server/ <new-wsp>/node_modules/@genesisx
FAQs
Generator package for creating mock-api-server for using mock apis.
We found that @genesisx/mock-api-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.