Skip to content

EspelhoPolitico/espelhopolitico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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