Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Caddy | 50,840 | 460 | a day ago | 382 | October 11, 2023 | 139 | apache-2.0 | Go | ||
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS | ||||||||||
Php Curl Class | 3,202 | 690 | 358 | 5 days ago | 99 | September 11, 2023 | 2 | unlicense | PHP | |
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs | ||||||||||
Elide | 966 | 17 | 13 | 10 days ago | 208 | October 28, 2023 | 86 | other | Java | |
Elide is a Java library that lets you stand up a GraphQL/JSON-API web service with minimal effort. | ||||||||||
Jose Jwt | 880 | 186 | 263 | 2 months ago | 30 | December 02, 2022 | 46 | mit | C# | |
Ultimate Javascript Object Signing and Encryption (JOSE), JSON Web Token (JWT) and Json Web Keys (JWK) Implementation for .NET and .NET Core | ||||||||||
Extract_otp_secrets | 821 | 4 days ago | 3 | gpl-3.0 | Python | |||||
Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console. | ||||||||||
Security Apis | 808 | 5 months ago | 2 | mit | ||||||
A collective list of public APIs for use in security. Contributions welcome | ||||||||||
Adblockfast | 698 | 8 hours ago | 14 | gpl-3.0 | Objective-C | |||||
Adblock Fast is a faster ad blocker for Windows, Android, iOS, Chrome, and Opera. | ||||||||||
Aws Security Viz | 677 | a month ago | 186 | October 06, 2023 | 2 | mit | Ruby | |||
Visualize your aws security groups. | ||||||||||
Oscal | 594 | 4 days ago | 152 | other | XSLT | |||||
Open Security Controls Assessment Language (OSCAL) | ||||||||||
Csp Builder | 531 | 38 | 14 | 5 months ago | 24 | May 24, 2023 | 8 | mit | PHP | |
Build Content-Security-Policy headers from a JSON file (or build them programmatically) |
Opinionated APIs for web & mobile applications.
Read this in other languages: 中文.
Elide is a Java library that lets you setup model driven GraphQL or JSON API web service with minimal effort. Elide supports two variants of APIs:
Elide supports a number of features:
Control access to fields and entities through a declarative, intuitive permission syntax.
JSON-API & GraphQL lets developers fetch entire object graphs in a single round trip. Only requested elements of the data model are returned. Our opinionated approach for mutations addresses common application scenarios:
Filtering, sorting, pagination, and text search are supported out of the box.
Elide supports multiple data model mutations in a single request in either JSON-API or GraphQL. Create objects, add them to relationships, modify or delete together in a single atomic request.
Elide supports analytic queries against models crafted with its powerful semantic layer. Elide APIs work natively with Yavin to visualize, explore, and report on your data.
Explore, understand, and compose queries against your Elide API through generated Swagger documentation or GraphQL schema.
Customize the behavior of data model operations with computed attributes, data validation annotations, and request lifecycle hooks.
Elide is agnostic to your particular persistence strategy. Use an ORM or provide your own implementation of a data store.
More information about Elide can be found at elide.io.
To try out an Elide example service, check out this Spring boot example project.
Alternatively, use elide-standalone which allows you to quickly setup a local instance of Elide running inside an embedded Jetty application.
The simplest way to use Elide is by leveraging JPA to map your Elide models to persistence:
The models should represent the domain model of your web service:
@Entity
public class Book {
@Id
private Integer id;
private String title;
@ManyToMany(mappedBy = "books")
private Set<Author> authors;
}
Add Elide annotations to both expose your models through the web service and define security policies for access:
@Entity
@Include(rootLevel = true)
@ReadPermission("Everyone")
@CreatePermission("Admin OR Publisher")
@DeletePermission("None")
@UpdatePermission("None")
public class Book {
@Id
private Integer id;
@UpdatePermission("Admin OR Publisher")
private String title;
@ManyToMany(mappedBy = "books")
private Set<Author> authors;
}
Add Lifecycle hooks to your models to embed custom business logic that execute inline with CRUD operations through the web service:
@Entity
@Include(rootLevel = true)
@ReadPermission("Everyone")
@CreatePermission("Admin OR Publisher")
@DeletePermission("None")
@UpdatePermission("None")
@LifeCycleHookBinding(operation = UPDATE, hook = BookCreationHook.class, phase = PRECOMMIT)
public class Book {
@Id
private Integer id;
@UpdatePermission("Admin OR Publisher")
private String title;
@ManyToMany(mappedBy = "books")
private Set<Author> authors;
}
public class BookCreationHook implements LifeCycleHook<Book> {
@Override
public void execute(LifeCycleHookBinding.Operation operation,
LifeCycleHookBinding.TransactionPhase phase,
Book book,
RequestScope requestScope,
Optional<ChangeSpec> changes) {
//Do something
}
}
Map expressions to security functions or predicates that get pushed to the persistence layer:
@SecurityCheck("Admin")
public static class IsAdminUser extends UserCheck {
@Override
public boolean ok(User user) {
return isUserInRole(user, UserRole.admin);
}
}
To expose and query these models, follow the steps documented in the getting started guide.
For example API calls, look at:
Analytic models including tables, measures, dimensions, and joins can be created either as POJOs or with a friendly HJSON configuration language:
{
tables: [
{
name: Orders
table: order_details
measures: [
{
name: orderTotal
type: DECIMAL
definition: 'SUM({{$order_total}})'
}
]
dimensions: [
{
name: orderId
type: TEXT
definition: '{{$order_id}}'
}
]
}
]
}
More information on configuring or querying analytic models can be found here.
Security is documented in depth here.
Please refer to the contributing.md file for information about how to get involved. We welcome issues, questions, and pull requests.
If you are contributing to Elide using an IDE, such as IntelliJ, make sure to install the Lombok plugin.
Community chat is now on discord. Join by clicking here. Legacy discussion is archived on spectrum.
This project is licensed under the terms of the Apache 2.0 open source license. Please refer to LICENSE for the full terms.
Intro to Elide video
Create a JSON API REST Service With Spring Boot and Elide
Custom Security With a Spring Boot/Elide Json API Server
Logging Into a Spring Boot/Elide JSON API Server
Securing a JSON API REST Service With Spring Boot and Elide
Creating Entities in a Spring Boot/Elide JSON API Server
Updating and Deleting with a Spring Boot/Elide JSON API Server