A simple notes app built with React and Django
Simple Notes App
This is a simple notes app built with React and Django.
Requirements
- Python 3.9
- Node.js
- React
Steps to complete the project
- Go to AWS to create an Ubuntu EC2 instance
- In the security group add inbound rules for the Jenkins local host and also allow port 8000 to access the TO-DO notes app as it runs on port 8000
- Connect to this EC2 instance by SSH/ Instance connect.
- Install jdk11 necessary to install Jenkins and then install Jenkins in this EC2 instance, then start the Jenkins server
-
Also install Docker int the EC2 instance ----------------------------------------------------------------------------------------------------------------------------------6
-
Add user and jenkins to the docker group so that they can also have execution permissions
- Open :8080 to access the Jenkins server and install suggested plugins and then login
- Create a Declarative pipeline for the entire deployement of the TO-DO Notes app
i) It will clone the git repository to fetch the code
ii) and then it will build images from the Dockerfile
iii) and then that created image will be uploaded to the Docker Hub registry
iv) The image will be fetched from the Docker Hub registry to deploy the application inside a Docker Container
v) Enable Webhooks so that whenever there will be any changesd made in the code repository Jenkins will create a new build every single time
vi) Use Dcoker-compose to start and run an entire app on a standalone host that contains multiple services
- Jenkins Build Dashboard for Note TO_DO app
- Accessing the TO-DO Note app on port 8000 of the EC2 server