Skip to content

Releases: divin3circle/azle-starter

v0.1.0 - Better UI Configurations for Frontend

17 Nov 12:23
Compare
Choose a tag to compare

UI Configurations

This release makes changes in the generate UI for better visuals when set & get message functions are called. This release also installs and initialized talwindcss for better and easier styling.

v0.1.0 - Initial Release of Setup Script

14 Nov 12:32
Compare
Choose a tag to compare

Release Description

This release marks the first version of the Bash script that automates the setup process for an Azle backend and React frontend project. The script sets up a new project directory with two subdirectories: one for the backend and one for the frontend, and installs the necessary dependencies. It also configures the frontend to interact with the Azle backend.

Features:

Creates a directory structure with frontend and backend directories.
Initializes the backend using Azle, with a simple "Hello World" canister.
Sets up the frontend using React + Vite, and installs @dfinity/agent and @dfinity/principal for interacting with the backend.
Automatically modifies App.tsx to include logic for interacting with the backend canister.
Includes credits to the GitHub repository at the beginning of the script.

Improvements in This Release:

  • Provides a smooth, automated way to set up both the backend and frontend.
  • Streamlined setup for developers looking to integrate Azle with React.
  • Utilizes the new deployment commands as in azle docs as running bash npx azle <canister-name> is no longer supported

Known Issues:

Ensure that dfx, rust and node v18+ are correctly installed and configured on your machine before running the script.
The frontend will need to be updated with the correct canister ID after deploying the backend.

Future Updates:

  • Better frontend template ui
  • More abstraction on the frontend backend interactions
  • npm package release