
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
github.com/prithvisagarrao/restaurant-api
postgres
5432
recipes_dev
recipes_usr
recipes_usr
docker-compose.yml
file in the root of this repository. You are free to add more containers to this if you like.The API conforms to REST practices and provide the following functionality:
Application conforms to the following endpoint structure and returns the HTTP status codes appropriate to each operation. Endpoints specified as protected below require authentication to view. The method of authentication is Json-Web-Tokens(JWT).
Name | Method | URL | Protected |
---|---|---|---|
List | GET | /recipes | ✘ |
Create | POST | /recipes | ✓ |
Get | GET | /recipes/{id} | ✘ |
Update | PUT/PATCH | /recipes/{id} | ✓ |
Delete | DELETE | /recipes/{id} | ✓ |
Rate | POST | /recipes/{id}/rating | ✘ |
An endpoint for recipe search functionality is also implemented. The HTTP method and endpoint for this
Additionally, recipes can be rated many times from 1-5 and a rating is never overwritten.
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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.