As seen on YouTube
Feel free to contribute to the project!
I am aware that there are a lot of issues with the project, if possible, open issues only for severe problems.
- Create
.env
with the following contents:
DB=
Encryption_Key=
DB = MongoDB connection string.
Ecryption_Key = A string which will be used to encrypt the session cookies
- Run
npm i
- Run
npm test
- Go to
https://127.0.0.2:3000
Passwords are hashed account tokens are generated by jsonwebtoken via a secret.
Password example: $2b$10$3TsrEozOYxBa/nAwrwZazudUc68ut.oTR/o1RCXRASLnJxi7zMHw.
JWT token example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySUQiOiI2NDk2YTQ4NmUyMDZmM2RiNTI1Zjc3NjciLCJkYXRlIjoxNjg4Mzk1NzYwNjY1LCJhZGRvbiI6IjE4ODk5NjIzNDNkMDk1ZTkzNjAzNmE2ODVhOTA1NDRmMWQ0MDQzYTYxZTc5MDY1NiIsInN1YmZlZGRpdHMiOnt9LCJkZXNjcmlwdGlvbiI6IkkgaGF2ZW4ndCBzZXQgYSBkZXNjcmlwdGlvbiB5ZXQhIiwiaWF0IjoxNjg4Mzk1NzYwfQ.CJgeCdC1VKKQ5oPuGg7veLnO1pkcAg8Y_vG-en7e1BQ
Apache-2.0