A forum-like application on Rest API using Hapi.js. This app provides an interface for users to have an authentication with their account, post a thread like Twitter, and let anybody to comment & reply the thread. It is defined as the completion criteria of project submission for Dicoding's Becoming Backend Expert module.
This project is an implementation of the topics being taught in the learning module. The module covers about automation-testing, clean architecture, CI/CD using GitHub Action & AWS, security (eg. SQL injection, DDoS attack, Man in The Middle), and server scalability.
5. Rename test_example.json
to test.json
. Then change the db_user
, db_password
, & db_name
(for testing database only) value in that test.json
file based on yours
6. Rename example.env
to .env
. Then change the db_user
, db_password
, & db_name
value in that .env
file based on yours
You can generate your own encryption keys with following steps:
- Enter this site https://www.allkeysgenerator.com/Random/Security-Encryption-Key-Generator.aspx
- Choose
Encryption key
- Check the
Hex ?
field - Click the
512-bit
option - Click
Get new results
button, then copy the generated string to the config file