A Next.js project created to provide a seamless user experience and high performance.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js (>= 14.x)
- npm (>= 6.x)
- Clone the repository:
git clone https://github.com/your-username/ingint.git
cd ingint
-
Setup Environment Variables:
- Create a file named
.env.development
in the root directory of the project for development environment variables. - Create a file named
.env.production
in the root directory of the project for production environment variables.
Both files should have the following content, replacing
your backend url
with your actual backend URL:NEXT_PUBLIC_NLP_API_URL=your backend url/api
- Create a file named
-
Install the dependencies:
npm install
- Start the development server:
npm run dev
Now you can open http://localhost:3000 with your browser to see the result.
- Build the project:
npm run build
- Start the production server:
npm start