Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 1.4 KB

README.md

File metadata and controls

70 lines (47 loc) · 1.4 KB

Espelho Político

1. Dependencies

2. Install Dependencies

To install all node dependencies, execute the command:

$ npm i && cd client && npm i && cd ..

3. Running Application

If it is the first time running the application, it is necessary to run the parser executing the command :

$ npm run parser

This application is composed by a client and a server.

To run the server and the client simultaneously, execute the command:

$ npm start

To run only the server, execute the command:

$ npm run server

To run only the client, execute the command:

$ npm run client

The client starts on port 3000 and the server on port 3001.

4. Testing

To run the client tests, execute the command:

$ npm run client:test

To run the server tests, execute the command:

$ npm run server:test