Skip to content

willians-e-silva/Real-time-chat

Repository files navigation

EZOPS-TEST-WILLIANS

A simple real-time chat.

To start the app install the node dependences and run the following command on terminal:

npm run start (for production/staging)
npm run dev (for local developing)

RUN DOCKER ON EC2

  • => Create node project (real-time chat) based on the sample tutorial
  • => Create MongoDB
  • => Create a repository for the application
  • => Refactor the code to remove jquery
  • => Refactor the code to remove bootstrap
  • => Create AWS account
  • => Create EC2 instance
  • => Conect to EC2 using key.pem
  • => Clone git repository
  • => Build docker Image and run docker container
  • => Access docker container from outside of the instance ()

CI/CD USING CODE GITHUB ACTIONS

  • => add the EC2 instance as a new runner on actions
  • => Configure a main.yaml file
  • => Add a test script using node to the main.yaml
  • => Use the main.yaml file to tes, build a nem image, push a new image and run it on EC2
  • => Add login and password of docker hub as a secret on github actions
  • => test

CREATE A NEW FEATURE FOR THE APPLICATION

  • => add tailwind to replace bootstrap
  • => frontend, design and logic improved
  • => Add timestamp function
  • => Add timestamp to mongoDB
  • => Paint div in a diferent collor for sender
  • => Scroll page to bottom when send is requested

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published