cravplus-frontend

0.1.9 • Public • Published

Prerequisites

  • NodeJS >= v12
  • npm >= 7

This is a Next.js project bootstrapped with create-next-app.

Components follow the Atomic Design guidelines.

Configure authentication

Configure eslint authentication

Getting Started

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

Change backend service

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.

Readme

Keywords

none

Package Sidebar

Install

npm i cravplus-frontend

Weekly Downloads

4

Version

0.1.9

License

none

Unpacked Size

2.03 MB

Total Files

569

Last publish

Collaborators

  • diogomano21