/pokemon_front2

A project that uses an Java api and shows the informations

Primary LanguageJavaScript

pokemon_front2

Project setup

bff/$ npm install
client/$ npm install

Scripts

In the root directory

To build the vue project:

root$ npm run build:client

To start the vue project:

root$ npm run start:client

To start the server in:

root$ npm run start:bff

To run all the tests:

root$ npm run test:all

To install bff/ and client/ modules/dependencies:

root$ npm run i:all

To run the stryker in the client/ and in the bff/:

root$ npm run stryker:all

In the bff/ directory

To build the vue project and start the server:

bff$ npm run build:start

To build the vue project:

bff$ npm run build:client

To start the server:

bff$ npm run start

To run the tests:

bff$ npm run test

To run the stryker:

bff$ npm run stryker

In the client/ directory

To start the vue project:

client$ npm run serve

To remove from the bff what was generated by the previous build:

client$ npm run prebuild

To build the vue project and put what was generated in bff/public:

client$ npm run build

To run the tests:

client$ npm run test

To run the stryker:

client$ npm run stryker

To run the lint:

client$ npm run lint