Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minhtrifit/discord-clone-server
Realtime Chat & Video Call App
https://github.com/minhtrifit/discord-clone-server
nestjs-backend postgresql socket-io
Last synced: 4 days ago
JSON representation
Realtime Chat & Video Call App
- Host: GitHub
- URL: https://github.com/minhtrifit/discord-clone-server
- Owner: minhtrifit
- Created: 2024-02-02T05:32:45.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-19T09:30:17.000Z (11 months ago)
- Last Synced: 2024-11-17T03:18:29.809Z (2 months ago)
- Topics: nestjs-backend, postgresql, socket-io
- Language: TypeScript
- Homepage:
- Size: 982 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DISCORD CLONE SERVER DOCUMENTATION
![Thumbnail](./showcase/screenshot.png)
π π Realtime chat & video call app inspired from [Discord](https://discord.com)
This project includes two repository (Client and Server), you can checkout **[client repository](https://github.com/minhtrifit/discord-clone-client)**
## π» Technical Stack
- [Nest.js](hhttps://nestjs.com) - A progressive Node.js framework for building efficient, reliable and scalable server-side applications.
- [SocketIO](https://socket.io) - Bidirectional and low-latency communication for every platform
- [PostgreSQL](https://www.postgresql.org) - The World's Most Advanced Open Source Relational Database## βοΈ Config .env file
Config [.env]() file in root dir with path `./.env`
* Note: Install [PostgreSQL database](https://www.postgresql.org)
```bash
CLIENT_URL=
DB_HOST=
DB_PORT=
DB_USERNAME=
DB_PASSWORD=
DB_NAME=
```## π¦ Installation
Intall packages & dependencies
```console
npm install
```Or install packages with legacy peer dependencies.
```console
npm install --legacy-peer-deps
```Run server project
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```Test server project
```bash
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e# test coverage
$ npm run test:cov
```Run server project with Dockerfile
```bash
$ docker run -p 5500:5500 slearninglab-api:1.0.0
```## βΆοΈ YouTube Demo
[![Thumnail](./showcase/screenshot.png)](https://youtu.be/L8ixcX2tIdk)
## π Contact
- Author - [minhtrifit](https://minhtrifitdev.netlify.app)
- [Github](https://github.com/minhtrifit)> CopyRightΒ© minhtrifit