Skip to content

Hosting a simple To-do list app on AWS while connecting the backend with an RDS Database.

Notifications You must be signed in to change notification settings

UtkarshBagaria/CC_AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Hosted To-do list

The webapp uses an ec2 instance to host the webapp which which is redirected to the IP address from the localhost of the instance using nginx. For storing the records the Backend(NodeJS) connects the front-end to the RDS which already has a table with the correct format created to store the data provided.

To run the webapp, first one needs to establish connection on two seperate terminal windows. Using the following command ssh -i <path_to_key_file> ubuntu@ec2-35-92-36-213.us-west-2.compute.amazonaws.com

Then run the commands on seperate windows: (To start the backend) serve -s build (Start the frontend) npm start

Which should look like this

image

Once the required connections are established one can access the webapp on the ec2 instance IP address. Which Looks like this

image

After adding tasks by simpling entering your query to the search box and pressing enter. The RDS (Shown in MYSQL Workbench) will contain the task added

image

About

Hosting a simple To-do list app on AWS while connecting the backend with an RDS Database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published