Skip to content

davidecorreu/chatWall-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatWall-server

Chat wall is an application created to post messages from users in a big screen. The main idea is to create a channel that will be shown in one or more big screens from a computer and the other users can join the channel to post messages there that will be shown for 10 seconds. This repo is the backend of this application. If you want to check the frontent visit chat-wall-client

Runnning the backend

Prerequisite

Steps

  1. Clone the repo
  2. Set up postgresql
  3. Create your .env file
  4. Run the server
  5. You are ready to set up the front end!

1. Clone the Repo

Clone the chatwall-server code locally. In a terminal, run:

git clone https://github.com/davidecorreu/chatWall-server.git

2. Set up postgresql

Install postgresql, create a new database named 'chat-wall-db' and start postgresql service.

3. Create your .env file

ENV="development"
PORT=3003
DB_USER=<your_db_user>
DB_PASSWORD=<your_db_password>
JWT_SECRET=<your_jwt_secret>

4. Run the server

In the terminal, run:

npm install
npm run dev

4. You are ready to set up the front end!

Navigate to chat-wall-client and follow the instructions in the README.md to finish the setup and run the application.

Tech Stack

  • Postgresql
  • Sequelize
  • Json Web Token
  • Koa

About

chat wall to post messages (full-stack)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published