Project for SQA (Software Quality Assurance) Course
- [Project Name](#Online course management)
MERN (MongoDB, ExpressJS, ReactJS, NodeJS
Fontend: ReactJS Backend: NodeJS + ExpressJS Database: MongoDB
Before you begin, ensure you have met the following requirements:
Install package dependencis required for the app by entering npm install
. This have to be entered inside frontend and backend directory each.
cd frontend
npm install -f
cd ../backend
npm install -f
Clone the repository:
git clone https://github.com/merajmasuk/sqa.git
## Build & Run
After installing necessary dependencies, start the app by running the nodemon service.
On backend directory,
npm start
On frontend directory,
npm run dev
**NOTE:** The backend requires a special `.env` file to run properly, this contains various secret keys, database authentications etc. For security this has been exempted from the github repository. Please contact one of the repository maintainers for the access.
### Testing
2. For testing, enter the following command:
```bash
npm test
- user management testing:
cd .\frontend\src\pages\Forum\out\
backend:
cd backend
cd controllers
cd out
# open user.controller.js click mouse right click and "open with Live server" button.
open Forum.jsx.html in browser
cd backend
npm test
Use ngrok for online jenkins payload