Skip to content

rrriki/vacasa-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vacasa Chat

This is a simple chat, built for Vacasa's Lunch & Learn, and MeetUps, as proof of concept to teach the concepts of building Node.js backend applications using Nestjs.

It uses Angular for the frontend, and implements websocket for real time messaging.

Vacasa Chat

Usage

Clone or download the repo and install the dependencies.

$ git clone https://github.com/rrriki/vacasa-chat
  
$ cd vacasa-chat

$ npm install --prefix ./frontend
$ npm install --prefix ./backend

You will need to set up the environment variables, the easiest way to do this, is to create a .env file in the backend's root directory with the following variables:

# SERVER
    
PORT=8080
    
JWT_SECRET=yoursecret

# MONGO

MONGO_URI=mongodb://mongourl/

Make sure your frontend environment variables match this set-up.

Finally, start both apps, running npm start inside each folder (backend & frontend)

License

  • MIT

About

Simple websocket chat for Vacasa Meetup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published