Vilnius university, 3rd course Software Engineering Design course. Group project on creating POS system.
- Coding standard are written here.
- Instead of
""writestring.Empty. - Every DB update MUST be done by migrations.
- 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.
Requirements:
- npm version: 20.11.0
- dotnet version: 8.0.10
- Clone repo
- Open reactapp1.client folder
- Run
npm install- There could be a problem running
npm install. Then try runningnpm install --legacy-peer-deps.
- There could be a problem running
- If you have problems with Stripe run
npm install @stripe/react-stripe-js @stripe/stripe-js - Create postgreSql database with these parameters:
- name:
postgres - password:
1234 - port:
5432
- name:
- Run
dotnet ef database update
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 2048openssl req -x509 -new -nodes -key pspapp.key -sha256 -days 365 -out reactapp1.client.pem
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
Here you can review all payments:
- url:
https://dashboard.stripe.com/test/payments - email:
hanid66211@eoilup.com - password:
Hanid66221...
Here you can view SMS dashboard:
- url:
https://app.seven.io/ - email:
dzeferson132@gmail.com - password:
!Bhe!fhTL8iApU~