Create JavaScript Project

Create JavaScript Project Set up a JavaScript project by running one command.

Get started

Focus on Code

You don't have to worry about build tools and configurations. All new projects come with build tools configured, instant reloading for development and build optimizations for production out of the box, so you can focus on your code.

Configurable

You can tweak your project's configuration anytime you want. Everything is set up just like you would set it up yourself, so you can change the configuration of the build tools, remove some of them or add new ones whenever you need.

Latest Tools

Your projects are powered by the latest versions of popular tools. When you start a new project, the latest versions of the appropriate dependencies are installed and configured and you can update them as your project keeps growing.

Get started It's as easy as 1, 2, 3!

Before you start, you need to globally install create-js-project via npm or yarn:

npm i -g create-js-project
yarn global add create-js-project

Then, follow these 3 simple steps:

  1. Create a project, optionally providing a [project-name] for your project:

    create-js-project [project-name]
    npm init js-project [project-name]
  2. Answer the questions, such as your project's name and desired template.

  3. Wait until the installation is complete and start coding!

Templates

We provide you with a handful of templates out of the box:

  • Browser - A basic template for projects that need to run in the browser.
  • Express Static Server - A template for projects that run in the browser, powered by Express.
  • Express HTTP Server - A basic template for an HTTP server, powered by Express.
  • Express + React - An advanced template for projects based on React, powered by Express.
  • Express + React + Redux - An advanced template for projects based on React and Redux, powered by Express.
  • Node.js Static Server - A template for projects that run in the browser, powered by Node.js.
  • Node.js HTTP Server - A basic template for an HTTP server, powered by Node.js.
  • Node.js + React - An advanced template for projects based on React, powered by Node.js.
  • Node.js + React + Redux - An advanced template for projects based on React and Redux, powered by Node.js.
  • React - A basic template for projects based on React.
  • React + Redux - A template for projects based on React and Redux.

We are planning to allow users to import their own templates from a local folder. If you want to help speed up the development of this feature, join the discussion here.