Coder Social home page Coder Social logo

ytgz / create-socket-app-bun Goto Github PK

View Code? Open in Web Editor NEW

This project forked from socketsupply/create-socket-app

0.0 0.0 0.0 229 KB

Create Socket App, is like Create React App but helps you build native apps for mobile and desktop with Svelte, Reactjs, Vuejs and others!

JavaScript 49.14% TypeScript 2.91% CSS 35.55% HTML 8.61% Vue 1.90% Svelte 1.89%

create-socket-app-bun's Introduction

Create Socket App

Create Socket App is similar to React's Create React App.
It will help you build native apps for mobile and desktop with Svelte, Reactjs, Vuejs and others!
The idea is to provide a few basic boilerplates and some strong opinions so you can get coding on a production quality app as quickly as possible.

Set up your Socket environement

You can find more details about prerequisites, instructions, and many useful tips in Socket Runtime documentation.

Quick Overview

$npx create-socket-app -h

usage: create-socket-app [react | react-ts | svelte | tonic | vanilla | vue]  
$npx create-socket-app

Creating socket files...OK
Initializing npm package...OK
Installing dependencies...OK
Adding package scripts...OK
Updating project configuration...OK
Copying project boilerplate...OK

Type 'npm start' to launch the app

Getting Started

Creat an empty directory and that's it, you are ready to go!

You may choose one of the following methods:

npm

Any of these following commands will work

npm init socket-app [react | react-ts | svelte | tonic | vanilla | vue]
npm create socket-app [react | react-ts | svelte | tonic | vanilla | vue]

yarn

yarn create socket-app [react | react-ts | svelte | tonic | vanilla | vue]

pnpm

pnpm create socket-app [react | react-ts | svelte | tonic | vanilla | vue]

Quick Demonstration Video

examples.mp4

Output:

Now inside of your directory, you should have a directory structure like this:

.
├── README.md
├── build.js
├── package.json
├── socket.ini
├── src
│   ├── icon.png
│   ├── index.css
│   ├── index.html
│   └── index.js
└── test
    ├── index.js
    └── test-context.js

Contributing

If something doesn't work, please Create an issue.
If you have questions or need help, please join our Discord.

create-socket-app-bun's People

Contributors

chicoxyzzy avatar lamiazar avatar heapwolf avatar mribbons avatar jwerle avatar wujekbizon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.