- NodeJS >= v12
- npm >= 7
This is a Next.js project bootstrapped with create-next-app
.
Components follow the Atomic Design guidelines.
Configure eslint authentication
Before installing packages the token to install the eslint package is needed. Follow this.
Install packages:
npm install
Create .env.development.local
to override environment variables (the defaults are in .env.development
).
Run the development server:
npm run dev
To avoid errors with webpack server in node run ( use only in test environment ):
export NODE_OPTIONS=--openssl-legacy-provider
To use a different backend, configure the environment variable BACKEND_URL
. This can be done in the .env.local
file for example.
For example, to use the development server add BACKEND_URL=http://51.77.148.212:5000
to the .env.local
file.