Skip to content

ml-lab-htw/iterative-annotate-frontend

Repository files navigation

Running the Next.js Project

This guide will help you run the Next.js project on your local machine.

Prerequisites

Before getting started, ensure you have the following installed on your system:

  • Node.js (version 20 or later)
  • npm (Node Package Manager)

Clone the Repository

  1. Open your terminal or command prompt.

  2. Change the current working directory to the location where you want to clone the repository.

  3. Run the following command to clone the repository:

    git clone [email protected]:s0577395/ssd-cnn-frontend.git
  4. Navigate to the cloned repository's directory:

    cd ssd-cnn-frontend

Installing Dependencies

To install the project dependencies, run the following command:

npm install

This will install all the required packages and libraries specified in the package.json file.

Setting connection to backend

Alter the constant values in src/modules/restClient.ts to match the location where the backend located at

export const apiIp = "http://localhost";
export const port = 8000;

Running the Development Server

To start the development server and run the Next.js application, use the following command:

npm run dev

This will start the development server, and your application will be accessible at http://localhost:3000 in your web browser.

Building for Production

If you want to build an optimized version of the application for production, run the following command:

npm run build

This will generate an optimized production build of your application in the .next directory.

To start the production server, run:

npm start

Your application will now be running in production mode.

Additional Notes

  • If you encounter any issues or have specific requirements, please reach out to the project maintainer.
  • Make sure you have the necessary permissions and access to the repository before cloning and running the project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages