A user management system is a crucial component of many web applications. It allows admin manage their account information. In this tutorial, we will build a simple user management system using Node.js, Express, RDS PostgreSQL, and Handlebars.
git clone https://github.com/hiepnguyendt/fcj-management-user.git
nano .env
npm start
Now, you are connecting to RDS PostgreSQL by Auto-fetching instance credentials from AWS Secret Manager.
If you got error when you run code. You should check AWS_regin in the AWS CLI
fcj_user
***You can using following SQL scripts below to create table ***
***You can using following SQL scripts below to insert data into table ***
Test the application in the browser: Open a web browser and enter the IP address or domain name of the EC2 Instance, followed by port 5000 (for example: http:// :5000). This will make a connection to your application running on port 5000.
Test results: The browser will display your application if everything is configured correctly and the EC2 Instance is working. If not, you need to recheck the previous steps to identify the problem and fix it.
http://<IP address or domain name>:5000
Congratulation! You have built AWS FCJ User Management System on Amazon Web Services.