1.0.3 • Published 2 years ago

create-express-react-project v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Create Express React Project 🏗

An npx tool to create a fullstack application using React and Express

  • Fully Customizable
  • Using Vite for the Client
  • Support for Typescript

Folder Structure

Javascript:

javascript-structure.png

Typescript:

typescript-structure.png

Requirements

You just need a package manager like npm or yarn

Usage

# Following the prompts:

# For yarn users:
$ yarn create express-react-project

# For npm users:
$ npx create-express-react-project

# Or, specify the project name and the template

# For yarn:
$ yarn create express-react-project <project-name> --template <template>

# For npm:
$ npx create-express-react-project <project-name> --template <template>

The templates are the following:

  • javascript
  • typescript

Now, go to the project directory and run:

# Yarn:
$ yarn dev

# Npm:
$ npm run dev

And open you browser in http://localhost:5000.