Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wasswarichard/chat-application-server


https://github.com/wasswarichard/chat-application-server

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

# Realtime Chat Application
Is a one-to-one real time chat web application .\
The application runs on https://chatrw-application.herokuapp.com/ remotely

### Access the Backend server remotely
The backend server is deployed to heroku servers at https://chats-application-server.herokuapp.com/ .\
![](images/remote-backend-server.PNG)
Testing the endpoints through postman .\
![](images/back-end-postman.PNG)
### Running the backend server locally.
run npm start to start the backend server locally .\
The server is run locally at http://localhost:5000/ .\
Testing back-end locally through postman
![](images/back-end-api-local.PNG)

### Database structure
The database runs on heroku servers as a back-end server resource plugin in the same environment
The postgres database consists of 2 tables; users and room tables
The users table stores user_name and the their associated chatroom.
The room table stores user_room, message and user_name or sent_by
Screenshoot of the database
![](images/database.PNG)

### Tests.
run npm test to run the tests
![](images/test.PNG)