Welcome to the VChart application! This project is built with Next.js.
Before running the application, ensure you have Node.js installed on your machine. This project requires Node.js version 16 or higher.
-
Clone the repository:
git clone https://github.com/dcsil/vchart-app.git cd vchart-app
-
Install dependencies:
If you prefer to install dependencies manually, run:
npm install
To streamline the process of setting up your development environment, we have provided a bootstrap script located at script/bootstrap
. This script performs the following tasks:
- Node.js Check: Verifies that Node.js is installed and meets the minimum version requirement.
- Dependency Installation: Installs all required npm dependencies.
- Development Server Startup: Launches the Next.js development server.
-
Make the script executable (if necessary):
chmod +x script/bootstrap
-
Run the bootstrap script:
./script/bootstrap
The script will output progress messages as it:
- Checks for Node.js installation
- Installs project dependencies
- Starts the development server
Once the script completes, your development environment should be up and running.
In the project directory, you can run:
-
npm run dev
Runs the app in development mode. Open http://localhost:3000 to view it in your browser. -
npm run build
Builds the app for production to the.next
folder. -
npm run start
Runs the built app in production mode. -
npm run test
Launches the test runner using Jest.
The VChart application is live! You can view the deployed version at: https://vchart-app-beta.vercel.app