Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wasswarichard/chat-application-server
https://github.com/wasswarichard/chat-application-server
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wasswarichard/chat-application-server
- Owner: wasswarichard
- Created: 2021-02-25T07:00:53.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-03T06:45:45.000Z (almost 4 years ago)
- Last Synced: 2024-11-09T06:45:19.523Z (2 months ago)
- Language: JavaScript
- Size: 309 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)