1.2.4 • Published 6 months ago

create-ds-template v1.2.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Create DS Template

Create DS Template is a CLI tool to set up a React project with micro-frontend architecture using Vite, TypeScript, and Chakra UI. This template provides a minimal setup to get started quickly with modern web development practices.

Features

  • React: A JavaScript library for building user interfaces.
  • TypeScript: A superset of JavaScript that adds static types.
  • Vite: A fast build tool that provides a modern development experience.
  • Chakra UI: A simple, modular, and accessible component library for React.

Getting Started

To create a new project using Create DS Template, follow these steps:

  1. Install the CLI globally:

    npm install -g create-ds-template
  2. Create a new project:

    create-ds-template my-project
  3. Navigate to your project directory:

    cd my-project
  4. Install dependencies:

    npm install
  5. Start the development server:

    npm start

After the CLI completes its run, the main project will be hosted at http://localhost:5713, and the micro-frontends will be loaded at ports 3111, 3112, or 3113 respectively, depending on the number of micro-frontends you set up.

Project Structure

The project structure is organized as follows:

├── main/
│   ├── .gitignore
│   ├── package.json
│   ├── vite.config.js
│   ├── src/
│   │   ├── assets/
│   │   ├── components/
│   │   ├── hooks/
│   │   ├── layouts/
│   │   ├── pages/
│   │   ├── routes/
│   │   ├── utils/
│   │   └── index.css
│   └── README.md
│
├── micro-fe-1/
├── micro-fe-2/
│
│
├── micro-fe-n/
│
├── lerna.json
└── package.json
1.2.4

6 months ago

1.2.3

6 months ago

1.2.0

6 months ago

1.1.9

6 months ago

1.1.8

6 months ago

1.1.7

6 months ago

1.2.2

6 months ago

1.2.1

6 months ago

1.1.1

7 months ago

1.0.2

7 months ago

1.1.0

7 months ago

1.0.1

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.1.6

7 months ago

1.0.7

7 months ago

1.1.5

7 months ago

1.0.6

7 months ago

1.1.4

7 months ago

1.0.5

7 months ago

1.1.3

7 months ago

1.0.4

7 months ago

1.1.2

7 months ago

1.0.3

7 months ago

1.0.0

7 months ago