This guide will help you run the Next.js project on your local machine.
Before getting started, ensure you have the following installed on your system:
- Node.js (version 20 or later)
- npm (Node Package Manager)
-
Open your terminal or command prompt.
-
Change the current working directory to the location where you want to clone the repository.
-
Run the following command to clone the repository:
git clone [email protected]:s0577395/ssd-cnn-frontend.git
-
Navigate to the cloned repository's directory:
cd ssd-cnn-frontend
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.
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;
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.
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.
- 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.
This project is licensed under the MIT License - see the LICENSE file for details.