WilliamVelazquez / POS-cash-opening-closing

Point of Sale, Cash Opening/Closing developed with ReactJs and using mipos.dev API.

Home Page:https://williamvelazquez.github.io/POS-cash-opening-closing/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Point of Sale - Cash Opening/Closing

Point of Sale, Cash Opening/Closing developed with ReactJs and using mipos.dev API.

πŸš€ Links

πŸ› οΈ Installation

npm install

Create a .env file at root level following the example file (.env-example).

PORT=3001
NODE_ENV=development
TOKEN=XxXxXxXxXxXxXx

πŸ–₯ Execution

πŸ“ŒDevelopment Environment

npm run dev

This project runs on http://localhost:3001 or the specified PORT on the .env file.

πŸ“ŒProduction Environment

Run the following command to create the production build over the dist folder:

npm run prod

After creating the production build you can open the index.html on your browser.

πŸ“ŒTesting with Interface

npm run dev

This project runs on http://localhost:3001 or the specified PORT on the .env file.

You must specify the same port at the /test/cypress.json file.

After running the project, on other terminal run:

npm run test

After a moment a cypress window will appear, to run the test click on: cashOpening.spec.js

πŸ“ŒTesting from terminal

npm run dev

This project runs on http://localhost:3001 or the specified PORT on the .env file.

You must specify the same port at the /test/cypress.json file.

After running the project, on other terminal run:

npm run test:run

πŸ“ŒDeployment on GitHub Pages

Run the following command to create the production build and deploy on gh-pages branch for the first time:

npm run deploy:new

Run the following command to create the production build and deploy if you already have the gh-pages branch:

npm run deploy

πŸ’» Technologies

  • React
  • ESLint
  • Webpack
  • Cypress

βœ’οΈ Author

If you want to know about the insights click here!

πŸ“· Screenshots

Opening Closing Expenses

🎁 Contribute

Feel free to contribute to the project!

About

Point of Sale, Cash Opening/Closing developed with ReactJs and using mipos.dev API.

https://williamvelazquez.github.io/POS-cash-opening-closing/

License:MIT License


Languages

Language:JavaScript 85.9%Language:CSS 12.3%Language:HTML 1.8%