Skip to content

Barcodehub/node-initializer-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 23, 2025
27cf3f0 · Mar 23, 2025

History

3 Commits
Mar 23, 2025
Mar 23, 2025
Mar 23, 2025

Repository files navigation

Automation Scripts for React and Express Projects

This repository contains two Python scripts to automate the setup of modern web development projects:

  1. React + Vite + TypeScript + SWC + Tailwind CSS: A script to create a React project with Vite, TypeScript, SWC, and optional Tailwind CSS and React Router DOM.
  2. Express + TypeScript: A script to create an Express project with TypeScript, MongoDB (Mongoose), and environment variables support.

These scripts are designed to save time and ensure consistent project setups.

Features

React + Vite + TypeScript + SWC + Tailwind CSS

  • Creates a React project with Vite, TypeScript, and SWC.
  • Optionally installs Tailwind CSS (version 3 or 4) and React Router DOM.
  • Automatically removes unnecessary files and configures Tailwind CSS.
  • Sets up a basic App.tsx and removes unused CSS imports.

Express + TypeScript

  • Creates an Express project with TypeScript.
  • Configures tsconfig.json for modern TypeScript features.
  • Sets up a basic Express server with CORS, environment variables, and MongoDB (Mongoose) support.
  • Adds development scripts for nodemon, ts-node, and production builds.

Prerequisites

Before using these scripts, ensure you have the following installed:

  • Python (v3.6 or higher)
  • Node.js (v16 or higher)
  • npm (usually comes with Node.js)

About

scripts para inicializar proyectos React y express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages