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 install
After NodeJS is ready, app dependencies must be installed:
npm install
To install app dependencies, run the following command:
npm install
You 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 start
You can deliver the bundled app from the server, but first, you have to build it:
npm run build
Then, if the app built correctly, you can start serving:
npm run server
To run application tests, run:
npm test