Skip to content

kon6443/aws

Repository files navigation

This repository has been made to practice node.js and AWS EC2.

Implemented

• Applied DI (Dependency Injection) using container in typedi module with plain JavaScript.
 ▪︎ All classes are manipulated in one single file called models/container/container.js.
• Clean code.
• Applied MVC pattern.
 ▪︎ Each layer does not affect to other layers and helps to loosen the bound between the different components.
• Board:
 ▪︎ CRUD, searching by title, board screen page, comment, comment reply.
• Web chat.
 ▪︎ socket.io
• JWT & session based
 ▪︎ Sign up, sign in, sign out.
• RESTful principles.

Planing to implement

• Admin account
• Grop chat(invitation)
• Preventing duplicated login

How to run

• In order to run this project, you need to rename .env.forGitHub file to .env and initialize those values.

Used skill stacks

docker-compose

  • docker-compose: Consists of Node container and MySQL container.

NodeJS

  • Express, socket.io, bcrypt, dotenv, cookie-parser, ejs, jsonwebtoken, mongoose, MySQL, python-shell, ajax.

Python

  • sqlite.

Jan 15, 2023

• Working on login with Kakao.

Dec 29, 2022

• Jest CRUD API TDD.

Sep 17, 2022

• Published.

Sep 16, 2022

• Dockerized.

Sep 09, 2022

• Board - comment edit available now.

Sep 08, 2022

• Board - Comment reply available now.

Sep 06, 2022

• Board - Comment deletion available now.

Sep 03, 2022

• Board - Comment viewable, not support comment reply yet.
• Board - Comment post available now.

Sep 02, 2022

• Board - Working on comment feature, made a comment DB.

Sep 01, 2022

• Board - Working on comment feature.

Aug 31, 2022

• Board - Working on comment feature.
• Renamed some variables.

Aug 30, 2022

• Code organizing.
• Removed junk code and renamed some variables.

Aug 29, 2022

• Code organizing.
• Removed junk code and renamed some variables.

Aug 28, 2022

• Board - Search by title available now.
• Optimizing.
• Modified UI.

Aug 27, 2022

• Board - Working on article search by title.
• Board - Auto complete available now.

Aug 26, 2022

• Board - Fixed time difference issue(time zone).
• Board - Now a new article sees first on the board(descending order by article number).
• Board - Working on article search by title.

Aug 25, 2022

• Board - Edit feature available now.
• Board - Fixing time difference issue.

Aug 24, 2022

• Error handling.
• Deleting available now.
• Page feature in board screen available now.

Aug 23, 2022

• Posting available now.
• Working on page screen.

Aug 22, 2022

• Connected MySQL server with NodeJS.
• Working on adding a board.

Aug 21, 2022

• Working on connecting MySQL with the server.
• Working on adding a board.

Aug 20, 2022

• Published.
• Web chat - online user list available.
• Sign in bug fixed - error handling.
• Pressing "Enter key" to submit available now.

Aug 19, 2022

• Web chat feature.
• Separated routers and controllers.

Aug 18, 2022

• Sign out feature.
• Working on separating controllers and routers.

Aug 17, 2022

• Sign up feature.
• Sign in feature.

Aug 16, 2022

• Connected mongoDB using mongoose module.
• Working on sign up feature

Aug 15, 2022

• Applying router.
• Added controllers and models directory.

Aug 14, 2022

• The entire NodeJS server is not applied routers.
• I have made a routes directory to organize my entire server structure.
Now I can distinguish purposes of controller, model, view.

• Separating their purpose can layer server structure which means:
View is used to interace only clients.
Controller is used to interact view and model.
Model is used to interacrt database.
• This implies that making more clean code and separating exact purpose of their code.

I have made each of router files based on categories in routes directory.

Aug 12, 2022

• I wanted to make a clean code that everyone can see and understand easily.
• I was looking for how to, and I have noticed that I need to apply MVC pattern to my server.
• I have decided to apply it to my entire NodeJS server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published