This instruction file will help you set up and run the project in both development and production environments.
Ensure you have the following installed:
- Node.js (version 12.x or later)
- npm (Node Package Manager, comes with Node.js)
- Git (to clone the repository)
git clone http://[email protected]/finn-gmbh/frontend-engineering-standard-aiysdr
cd frontend-engineering-standard-aiysdr
Run the following command to install all the necessary dependencies:
npm install
To start the project in development mode, use the following command:
npm run dev
This will start a development server at http://localhost:3000/. You can view the app in the browser, and any changes you make to the code will automatically refresh the page.
To build the project for production, run:
npm run build
This will create an optimized build of the app in the .next directory.
After building the project, start the server in production mode with:
npm run start
The app will run in production mode at http://localhost:3000/.