-
Notifications
You must be signed in to change notification settings - Fork 1
Testing
Moisés Córdova edited this page Nov 13, 2018
·
12 revisions
- Go to folder path by terminal
- Initialize the application by
node app.jsif you're running only local, byheroku web localif you are already logged in Heroku or by nodemon if you prefer it
- For local testing you need to change the postman URL for your local one, then run
- Ensure database is created with the correct parameters
- For online testing just run postman collection
For testing purposes two types of users shown below have been created, for run postman Collection just log in with any of the accounts.
- Non-Admin Users:
- Modify it's own information
- See it's friend requests
- Add or remove a friend
- Create a question (Must be approved by an administrator)
- Create a new game
- Review results of it's games
- Play: Answer questions into a game
- Admin: It has administrator privileges and has the power to:
- Perform any action that a non-admin user executes
- Approve or eliminate questions
- Remove users
- See all questions
- See all users
- See all games
- See any specific question
- See any specific user
- Mail: admin@spinandanswer.com
- Password: password
- Mail: user@spinandanswer.com
- Password: password
ISC
Nancy Michelle Torres Villanueva for her repository "expressjs-101 - Step by step to learn ExpressJS"