JSON-Schema Faker
serverless-websockets
JSON-Schema Faker | serverless-websockets | |
---|---|---|
8 | 7 | |
3,214 | 23 | |
0.4% | - | |
7.1 | 0.0 | |
2 months ago | about 2 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
JSON-Schema Faker
-
Show HN: Generate JSON mock data for testing/initial app development
There’s also json-schema-faker which is pretty cool.
https://github.com/json-schema-faker/json-schema-faker
-
How do you get realistic data in your staging databases?
I built a CSV generator which I then use as a test data source for a dsv library on that principle and another API generator based on schema. Something that might be additionally helpful is json-schema-faker, as you can probably convert you primary record (DB schema) to json-schema then just generate tons of data.
-
OpenAPI Examples
I only know https://github.com/json-schema-faker/json-schema-faker for JS, not Java though.
-
How Web Apps Became Decoys To Get You To Install Native Apps
Hell, i was using this one earlier today; just kills me that people think this is acceptable.
-
Intro to AWS Websockets Part Three: Documentation
The payload object contains a reference to a JSON Schema object that describes the properties of the event. This allows the consumer to know exactly how to define the event when publishing or how to write code that consumes a subscribed event. There are even tools online that generate examples from JSON Schema (and vice versa).
- The Faker.js Saga Continues
-
How do you "stitch & glue" types for all your needs?
The class-validator / class-transform looks really nice for formatting/validation but there is also joi. suretype is attractive since theoretically typeconv could generate jsonSchema for json-schema-faker and Open API docs.
-
JSON Data Generator
I've been using Fake your JSON-Schemas! (json-schema-faker.js.org), but it does not consider if-then-else rules in its generation process.
serverless-websockets
-
Build Better Serverless APIs By Going Storage First
For long running jobs, it is useful to inform the user that something is going on. Nobody likes sitting and waiting hoping that work is being done. To help with this, we provide push notifications via the WebSocket microservice we created in my WebSocket tutorial.
-
Lessons Learned From Switching to AWS SDK v3
For a real world example, you can check out my repo on AWS WebSockets.
-
Intro to AWS WebSockets Part Five: Custom Domain Name
There are two things you must do before configuring a custom domain: purchase your domain name and setup a public hosted zone. These will need to be done manually in order to pick up and deploy the stack contained in part five of the GitHub repo for the WebSocket.
-
Intro to AWS WebSockets Part Four: User Notifications
Just like the three previous parts, the work is done ahead of time. To deploy the updates that add user notifications, run the following command in a terminal in the root of the repo on your local machine.
-
Intro to AWS Websockets Part Three: Documentation
To get started with the spec for our WebSocket, checkout the part-three branch in the serverless-websockets repo in GitHub with the following command:
-
Intro to AWS Websockets Part Two: Auth
If you followed part one of this series, you deployed a basic WebSocket into your AWS account. It has the ability to add and remove connections, as well as add and remove subscriptions to specific entities. Today we are going to use a branch in that repo that enhances what we had.
-
Intro to AWS Websockets
Today we're going to go through an example of a WebSocket written in a SAM template. I chose a SAM template because of how easy it is to deploy a serverless application directly into AWS without the need for 3rd party services.
What are some alternatives?
Mock.js - A simulation data generator
spec - The AsyncAPI specification allows you to create machine-readable definitions of your asynchronous APIs.
Immer - Create the next immutable state by mutating the current one
studio - Visually design your AsyncAPI files and event-driven architecture.
hashmap - HashMap JavaScript class for Node.js and the browser. The keys can be anything and won't be stringified
frank_jwt - JSON Web Token implementation in Rust.
react-websocket - Easy-to-use React component for websocket communications.
gopher-holes-unlimited - Example OpenAPI Spec for fictional website: Gopher Holes Unlimited
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.
awesome-jsonschema - A curated list of awesome JSON Schema resources, tutorials, tools, and more.
datafaker - Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!
Visual Studio Code - Visual Studio Code