Tytan888 / CSSWENG-S11-G1

0 stars 0 forks source link

CSSWENG-S11-G1

🌔 To run the server... Create a .env file in the root folder of the repository.

vim .env

In the .env file, include all the necessary variables.

PORT = 'Port number'
MONGODB_URI = 'mongodb://localhost:27017/pearldb'
TEST_MONGODB_URI = 'mongodb://localhost:27017/test'
SALT_ROUNDS = 'can be any number higher than 0'
SECRET ='Any strong password'
WEBHOOK_SECRET_KEY = 'The secret key of the paymongo webhook'
PAYMONGO_SECRET_KEY_HASH = 'The hash key generated from the paymongo secret key'
WEBSITE_URL = 'https://hostaddress:PORT'
DONATION_DISABLED = 'true or false'

Then run the server by typing this command in the terminal...

node start.js

🔱 For developers...

npm test
npm run dev
npm run doc

Naming Convention

🚀 git commit


📖 To check the test coverage report...


✉️ Guideline to Reporting Bugs

  1. Create a new issue via github. Alt text
  2. Set the issue label as a bug. Alt text
  3. Provide a title that is descriptive of the bug and follow the template for the description. Alt text
  4. Submit the issue and make sure to notify the group of the newly created issue.

--- Copy-paste the bug report template below. ---

💾 Description: Provide brief description of what the bug is, and—if possible—indicate what you think the cause of the bug is.

⏰ Expected Outcome: Describe what the desired outcome should be when the bug is fixed.

☎️ Actual Outcome: What is the actual outcome produced because of the bug?

🎶 Steps to Reproduce: Show step-by-step how to produce the bug. If possible, provide screenshots for each step, especially if the bug is for the front-end.

---End of Copy-Paste---


--- Copy-paste the bug resolution template below. ---

🛠️ Fix: Detail a description of how the issue was resolved in code.

☑️ New Output/Behavior: Describe how the newly fixed feature behaves as intended. Provide detailed screenshots whenever possible.

---End of Copy-Paste---