JosephSB / CHAT-APP

Chat app created in nextjs 13 to frontend, express to backend, bd to mongodb and wrapped in docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CHAT APP

App created using REACT, NODE, TS,DOCKER, MONGODB, NGINX

  • Sharp images;
  • CRUD Contacts.;
  • Upload images;
  • Chat with contacts;
  • Login, Register;

How to use with docker

THIS EXAMPLE IS FOR UP THE PROJECT AS PRODUCTION

  1. Clone repository
  2. add .env.prod in backend and frontend folder, use example env.example
  3. run comand -> docker-compose -f docker-compose.prod.yml up -d --build
  4. Ready

THIS EXAMPLE IS FOR UP THE PROJECT AS DEVELOPMENT

  1. Clone repository
  2. add .env in backend and frontend folder, use example env.example
  3. run comand -> docker-compose up -d --build
  4. join the folder frontend -> cd frontend/
  5. install dependencys -> npm install
  6. run-> npm start
  7. Ready

About

Chat app created in nextjs 13 to frontend, express to backend, bd to mongodb and wrapped in docker.


Languages

Language:TypeScript 94.6%Language:JavaScript 4.3%Language:HTML 0.5%Language:CSS 0.4%Language:Shell 0.2%