This repository contains front end implementation of PoS system using ReactJS with redux fully integrated for state management. Source code is developed using ReactJS with Redux in VSCode IDE. There are three branches maintained in this project.
development-redux
branch containing source code under development using reduxdevelopment-pure
branch containing source code under development using ReactJS with manual state controldeployment
hosting branch in Heroku. Pushes to this branch will deploy the content in the hosted website
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Configuring the project in your own workstation is easy. First, make sure the prerequisites tools and libraries are installed. Clone the project and install dependencies using npm install
command. Once all the dependencies are set, go to root folder and run npm start
. It will display on which port the application has started and a link to access the web site.
API is fully integrated with unit testing plus component testing and it covers almost 95% of source code. Tests can be run using the following command on the whole project. Codacy is integrated to measure code quality and coverage. Required keys for codacy is in Travis build system and therefore ignore all the warnings generated by codacy in a local build.
$ npm test
This site is already hosted in a free Heroku platform using free dynos. There might be slight delays to start up the app due to the use of free dynos. In order to deploy your own version of this app, please follow deployment instructions provided in Heroku. URL for the hosted website is . The backend is developed seperately and it can be found in a GitHub repository: sysco-pos-nodejs-server along with the documentation in swaggerhub