serverless-websockets-quest
An ADND style web-based game that combines serverless with websockets to achieve a realtime experience (by ably-labs)
static-web-apps-cli
Azure Static Web Apps CLI ✨ (by Azure)
Our great sponsors
serverless-websockets-quest | static-web-apps-cli | |
---|---|---|
5 | 21 | |
8 | 572 | |
- | 1.9% | |
0.0 | 8.0 | |
7 months ago | about 1 month ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
serverless-websockets-quest
Posts with mentions or reviews of serverless-websockets-quest.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-11.
-
One year at Ably as a Developer Advocate
Live demo
-
Using serverless WebSocksets with Azure Functions & Durable Entities
Hi all, I created a web app (ADnD style mini game) recently to demonstrate how to use serverless WebSockets (Ably) and combine it with Azure Functions to send realtime updates to the client (based on VueJS and hosted on Azure Static Web Apps). The Azure Functions use Durable Entities (part of Durable Functions) to store a centralized game state, and as soon as the state is updated the clients are notified of this change. Full blog post is here, the game can be played here, and you can have look at the code on GitHub.
-
Quest for serverless WebSockets, an adventure with Azure Functions & Durable Entities
[JsonObject(MemberSerialization.OptIn)] public class GameState : IGameState { // Only showing the class members relevant for this blog section. // For the full implementation see https://github.com/ably-labs/serverless-websockets-quest/blob/main/api/Models/GameState.cs [JsonProperty("questId")] public string QuestId { get; set; } [JsonProperty("phase")] public string Phase { get; set; } public async Task InitGameState(string[] gameStateFields) { QuestId = gameStateFields[0]; Phase = gameStateFields[1]; await _publisher.PublishUpdatePhase(QuestId, Phase); } [JsonProperty("players")] public List PlayerNames { get; set; } public async Task AddPlayerName(string playerName) { if (PlayerNames == null) { PlayerNames = new List { playerName }; } else { PlayerNames.Add(playerName); } if (IsPartyComplete) { await UpdatePhase(GamePhases.Play); await Task.Delay(2000); await AttackByMonster(); } } public async Task UpdatePhase(string phase) { Phase = phase; await _publisher.PublishUpdatePhase(QuestId, Phase); } private async Task AttackByMonster() { var playerAttacking = CharacterClassDefinitions.Monster.Name; var playerUnderAttack = GetRandomPlayerName(); var damage = CharacterClassDefinitions.GetDamageFor(CharacterClassDefinitions.Monster.CharacterClass); await _publisher.PublishPlayerAttacking(QuestId, playerAttacking, playerUnderAttack, damage); await Task.Delay(1000); var playerEntityId = new EntityId(nameof(Player), Player.GetEntityId(QuestId, playerUnderAttack)); Entity.Current.SignalEntity(playerEntityId, proxy => proxy.ApplyDamage(damage)); await Task.Delay(1000); var nextPlayerName = GetNextPlayerName(CharacterClassDefinitions.Monster.Name); await _publisher.PublishPlayerTurnAsync(QuestId, $"Next turn: {nextPlayerName}", nextPlayerName); } }
static-web-apps-cli
Posts with mentions or reviews of static-web-apps-cli.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-20.
-
hooks.server.ts not getting cookies after publishing auth API
In conjunction with the SWA CLI tool from Microsoft:[https://github.com/Azure/static-web-apps-cli](https://github.com/Azure/static-web-apps-cli)
-
Azure Static Web App Resources
You can find the documentation here, and the tool itself is open sourced and can be found here
-
Deploy A Single Page Application to Azure Static Webapp using CI/CD and CLI.
I found a tool created by Microsoft which provides cli support to manage and deploy to static website. The tool called Azure Static web app CLI. The tool provides more than deployment functionality, but has lots of features to emulate authentication, and provide proxy for the API calls from the static web site.
- How do I find out what registry and path a package are coming from?
-
How YOU can deploy your resume in 2 min using Azure Static Web apps
Azure Static Web Apps CLI.
-
Quest for serverless WebSockets, an adventure with Azure Functions & Durable Entities
Azure Static Web Apps CLI. This is the command line interface to develop and deploy Azure Static Web Apps. Install this tool globally by running this command in the terminal: npm install -g @azure/static-web-apps-cli.
-
what is the cheapest way to host a website with React(UI), dotnet Api, postgres(db) ??
Azure Static Web Apps. It is meant for SPA frontends and Azure Functions out of the box and has a generous free tier. Very simple to use and deploys straight from github, azure devops, or the command line.
- Azure Static Web Apps CLI is now GA (global access)
-
New tips & tricks for your Azure Static Web Apps
With the release of the new SWA CLI, it's never been easier to get started with Azure Static Web Apps! With the new commands you can configure your project to test it locally with the emulator, and deploy it directly from the CLI in a few minutes. It also support multiple configurations, and it's compatible with monorepos. Watch the video to learn how to get started with the new commands.
-
Get started with the new Azure Static Web Apps CLI
You may have missed it, but the new Azure Static Web Apps CLI is now available!