Skip to content
 
 

Latest commit

 

History

81 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point of sale system

Vilnius university, 3rd course Software Engineering Design course. Group project on creating POS system.

Coding standard

  • Coding standard are written here.
  • Instead of "" write string.Empty.
  • Every DB update MUST be done by migrations.

Pull-Request Conventions

  • All changes should be done in different branch.
    • Branch naming: tasks/TaskName or bugs/BugName
  • PR should be reviewed at least by one contributor.
  • Commits are made in logical blocks.
  • Delete branches after merge.

How to run the app.

Requirements:

  • npm version: 20.11.0
  • dotnet version: 8.0.10
  1. Clone repo
  2. Open reactapp1.client folder
  3. Run npm install
    1. There could be a problem running npm install. Then try running npm install --legacy-peer-deps.
  4. If you have problems with Stripe run npm install @stripe/react-stripe-js @stripe/stripe-js
  5. Create postgreSql database with these parameters:
    1. name: postgres
    2. password: 1234
    3. port: 5432
  6. Run dotnet ef database update

HTTPS Certificate problem

There could be HTTPS problem starting reactapp1.client

If you get this error, you should open ```/Users/username/.aspnet/https`` folder with terminal. Run following commands:

  • openssl genrsa -out reactapp1.client.key 2048
  • openssl req -x509 -new -nodes -key pspapp.key -sha256 -days 365 -out reactapp1.client.pem

Dummy data

There is a .sql script for adding dummy data. The database should be empty for it to work properly. Run the DummyData.sql file in your database. Before running the script make sure to reset your database dotnet ef database drop --force dotnet ef database update Login with admin:

  • Email: john.krasinski@gmail.com
  • Password: 123

Stripe

Here you can review all payments:

  1. url: https://dashboard.stripe.com/test/payments
  2. email: hanid66211@eoilup.com
  3. password: Hanid66221...

SMS

Here you can view SMS dashboard:

  1. url: https://app.seven.io/
  2. email: dzeferson132@gmail.com
  3. password: !Bhe!fhTL8iApU~

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages