Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
github.com/mv2480/instagram_api
The task is to develop a basic version of aInstagram. You are only required to develop the API for the system. Below are the details.
You're sections headers will be used to reference location of destination.
The task is to develop a basic version of a Instagram. You are only required to develop the API for the system. Below are the details.
You are required to Design and Develop an HTTP JSON API capable of the following operations,
Create an User
Should be a POST request Use JSON request body URL should be ‘/users' Get a user using id
Should be a GET request Id should be in the url parameter URL should be ‘/users/’ Create a Post
Should be a POST request Use JSON request body URL should be ‘/posts' Get a post using id
Should be a GET request Id should be in the url parameter URL should be ‘/posts/’ List all posts of a user
Should be a GET request URL should be ‘/posts/users/' Additional Constraints/Requirements:
The API should be developed using Go. MongoDB should be used for storage. Only packages/libraries listed here and here can be used. Scoring:
Completion Percentage No. of working endpoints among the ones listed above. Quality of Code Reusability Consistency in naming variables, methods, functions, types Idiomatic i.e. in Go’s style Passwords should be securely stored such they can't be reverse engineered Make the server thread safe Add pagination to the list endpoint Add unit tests
FAQs
Unknown package
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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.