Client repository for team dev project.
- Copy the
.env.example
file to a new file named.env
(NOTE: Make sure to copy the file, don't remove the original .env.example) - Make sure the
REACT_APP_API_URL
environment variable in the.env
file contains the URL of the server app on your machine npm ci
to install dependenciesnpm start
to run the app. The server must also be running on your machine
https://github.com/orgs/boolean-uk/projects/33/views/1
- Pull requests should be made from branches following the naming convention:
<username>-<issue_number>-<feature>
, e.g.vherus-#1-user_registration
The backend now implements random seeding of users, creating 300 unique users which can be used for testing. The users are generated with four different passwords and unique hash codes:
- "$2a$11$mbfii1SzR9B7ZtKbYydLOuAPBSA2ziAP0CrsdU8QgubGo2afw7Wuy", // Timianerkul1!
- "$2a$11$5ttNr5DmMLFlyVVv7PFkQOhIstdGTBmSdhMHaQcUOZ8zAgsCqFT6e", // SuperHash!4
- "$2a$11$KBLC6riEn/P78lLCwyi0MO9DrlxapLoGhCfdgXwLU2s44P.StKO/6", // Neidintulling!l33t
- "$2a$11$DFMtyLv243uk2liVbzCxXeshisouexhitDg5OUuBU.4LVn//QG5O." // lettPassord123!
To log in with any of the users, make sure your backend is up to date with the server repo. Add a migration and update your database. The users will then be displayed in a users table in your database. To know which password is correct for a user, check the matching hash in the passwordhash column with the four hash codes above, then use the password for the matching hash, and the email for the user, and log in.