zphrs / chat-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat APP

Mostly just a tech demo

check it out at https://zchats.glitch.me

Run it

Make sure to run npm install in the root directory!

To run the front end locally:

  1. cd into chatApp
  2. npm install
  3. npm run dev

To run the back end locally:

  1. cd into server
  2. npm install
  3. npm start

Get local front end to talk to local backend

  1. find /chatApp/src/App.vue
  2. find the line that says:
const db = new ChatDB("https://zchats-backend.glitch.me")
  1. change it to be
const db = new ChatDB("http://localhost:5500")

About

License:MIT License


Languages

Language:TypeScript 44.5%Language:JavaScript 27.8%Language:Vue 26.9%Language:HTML 0.8%