npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cartesikit

v1.0.7

Published

Custom template

Downloads

249

Readme

CartesiKit

An all in one package to help you get started building your project on Cartesi

CartesiKit Architecture

Building on the blockchain doesn't have to hard. With CartesiKit you are one click away from bringing your ideas to life and launching your product while utilizing the full potentials of the Cartesi Rollup.

The CartesiKit CLI tool is designed to streamline the process of setting up new projects by providing developers with a wide range of templates for backend, frontend, Cartesify, and mobile development.

With the template, you can easily create your frontend and backend project by selecting the template(s) you need in just one click of a command line.

CartesiKit aims to address common challenges faced by developers when setting up new projects or working with various technologies and frameworks.

This project is specially designed to meet the development needs of the Cartesi Developers. It aims to ease the onboarding of new developers into the Cartesi ecosystem.

System Requirements and Prerequisites

CartesiKit requires Node.js and npm to be installed on your system. Ensure that you have the latest versions of Node.js and npm installed before proceeding with the installation.

Installation Guide

Npm Installation:

To install CartesiKit globally via npm, run the following command:

npm install -g cartesikit

Once you have successfully install the package globally on your machine, you are now set to create your first project using the template by running the below command

npx cartesikit create myapp

You should see something like this prompt image

Replace myapp with the desired name of your project. This command will prompt you to select a template and configure the project settings.

CLI Options:

View available command-line options and flags by running

cartesikit --help

Backend Setup

If you are interacting with the frontend and backend at the same time. Say you are building a full stack solution.

Here are the steps:

But if you are only working on the frontend and you are not interacting with the backend you can skip this step.

  • First navigate to the backend directory of your created project and run the below command, keep in mind also ensure your docker is all setup and up and running.

      sunodo build

This will help build the image and run the Cartesi machine. Once this step is completed you should see something like this sunodo build

The next step will be to start the local server by running

  sunodo run

If all goes well you should see this sunodo run

Debugging

For quick troubleshooting incase you run into any issue you can quickly check the status using

sunodo doctor

This will start the development server

Frontend Setup

If you are working on the frontend, all you need to do is to navigate into the frontend project directory and run

npm run dev 

Note

More details on each individual project setup base on selected template will be provide soon.

Supported Templates

A more comprehensive doc for each of the supported templates will be provided soon.

  • Backend (Python, JavaScript, TypeScript, Rust, Go)
  • Frontend (React, NestJS, Vue.js, Angular, Sundo Console)
  • Cartesify (Backend and Frontend)
  • Mobile (React Native with Expo and without Expo, Flutter)

Backend Templates:

CartesiKit supports backend templates in various programming languages, including Python, JavaScript, TypeScript, Rust, and Go. Each backend template comes with a basic project structure and configuration files.

Frontend Templates

Frontend templates are available for popular frameworks such as React, NestJS, Vue.js, Angular, and Sundo Console. These templates include components, routing, and styling to kickstart front-end development.

Cartesify Templates

Cartesify templates integrate the Cartesi platform for both backend and frontend development. These templates enable developers to build scalable and secure applications using Cartesi's REST API technology.

Mobile Templates

CartesiKit offers templates for mobile app development using React Native (with and without Expo) and Flutter. These templates include navigation, state management, and UI components for building cross-platform mobile applications utilizing Cartesi's Rollup features.

Current Features

The current version of CartesiKit offers a range of powerful features designed to streamline project setup and enhance developer productivity.

Below are the key features available in this current release:

  • Integration with Cartesi Rollup, Sunodo and Cartesify
  • Project scaffolding
  • Template Selection and Customization
  • Template repository
  • CLI tool integration
  • Documentation and Examples
  • Version Control Integration

Future Plans

  • Improve on UI of the existing templates
  • Template expansion
  • Create better developer onboarding experience while using the CartesiKit
  • Add additional backend code samples
  • Add implementation logic for Angular, Vue and on the mobile templates
  • Template Updates and Maintenance
  • Community Engagement
  • Continuous Improvement

Built With

  • Cartesi Rollup
  • Sunodo
  • Cartesify
  • Node and Yarn Packages
  • Figlet
  • fs-extra
  • inquirer
  • path
  • shelljs
  • child_process
  • commander

Official CartesiKit Documentaion

To read a more comprehensive version of this doc visit here

Contributing Guide

This will be provided soon

LICENSE

CartesiKit is licensed under the Apache License. Refer to the LICENSE file for more details