Next-Workflow is a web application built using React and Next.js. It provides a streamlined workflow for creating node-based editors and interactive diagrams.
To install React Workflow, follow these steps:
- Clone the repository:
git clone https://github.com/shahriarshafin/next-workflow.git
- Navigate to the project directory:
cd next-workflow
- Install the dependencies:
npm install
To start Next Workflow in development mode, use the following command:
This will start the development server and allow you to access the application at http://localhost:3000
.
To build the application for production, use the following command:
After the build is complete, you can start the production server using the following command:
Next Workflow includes the following npm scripts:
dev
: Starts the development server.build
: Builds the application for production.start
: Starts the production server.lint
: Runs ESLint to check for linting errors.
You can run these scripts by executing npm run <script-name>
.
Next Workflow relies on the following dependencies:
autoprefixer
: 10.4.14eslint
: 8.41.0eslint-config-next
: 13.4.4next
: 13.4.4postcss
: 8.4.24react
: 18.2.0react-dom
: 18.2.0react-icons
: ^4.9.0reactflow
: ^11.7.2tailwindcss
: 3.3.2
These dependencies will be installed automatically when you run npm install
.