This is a react app for Porto Alegre's bus station.
The server requires Node.js and NPM installed. If you do not have Node.js, you should run:
nvm use
nvm installAfter NodeJS is ready, app dependencies must be installed:
npm installTo install app dependencies, run the following command:
npm installYou can run the application locally or serving it from an express.js, in both cases you need to start veppo-api so that you can retrieve data.
You can run the application with webpack dev server. Inside the project folder, run:
npm startYou can deliver the bundled app from the server, but first, you have to build it:
npm run buildThen, if the app built correctly, you can start serving:
npm run serverTo run application tests, run:
npm test