Skip to content

Commit

Permalink
docs: updated api.md and added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis3797 committed Jun 29, 2024
1 parent 1cebde5 commit b79db3b
Show file tree
Hide file tree
Showing 3 changed files with 418 additions and 45 deletions.
94 changes: 93 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,95 @@
# Lyve
![lyve logo](https://raw.githubusercontent.com/lyve-app/lyve-backend/main/assets/lyve_logo.svg)

## About the Project

> This is the backend codebase of the lyve platform
Lyve is a livestreaming platform where users can create and watch livestreams. Viewers can engage with streamers through chat and by sending rewards, fostering a lively and interactive community. Lyve enhances the experience with gamification, offering achievements and promotion points that help streamers gain more visibility on the platform.

### Techstack

#### API

[![API Technologies](https://skillicons.dev/icons?i=ts,express,nodejs,prisma,postgres,jest,rabbitmq,azure,githubactions,docker)](https://skillicons.dev)

- Socketio

Hosted on a Azure App Service

#### Media-Server

[![Media-Server Technologies](https://skillicons.dev/icons?i=ts,express,nodejs,rabbitmq,azure,docker)](https://skillicons.dev)

- Mediasoup

Hosted on a Azure VPS

## Structure

This codebase is a yarn workspace monorepo.

There are two backends in this repo [api](https://github.com/lyve-app/lyve-backend/tree/main/apps/api) and [media-server](https://github.com/lyve-app/lyve-backend/tree/main/apps/media-server), both can be found in the `/apps` directory

```txt
.
├── README.md
├── apps
│ ├── api
│ │ ├── Dockerfile
│ │ ├── jest.config.ts
│ │ ├── package.json
│ │ ├── prisma
│ │ │ ├── migrations
│ │ │ └── schema.prisma
│ │ ├── src
│ │ │ ├── app.ts
│ │ │ ├── config
│ │ │ ├── controller
│ │ │ ├── index.ts
│ │ │ ├── interfaces
│ │ │ ├── middleware
│ │ │ ├── routes
│ │ │ ├── service
│ │ │ ├── types
│ │ │ ├── utils
│ │ │ └── validations
│ │ ├── test
│ │ │ ├── integration
│ │ │ └── unit
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.json
│ │ ├── tsconfig.spec.json
│ │ ├── web.config
│ │ └── yarn.lock
│ └── media-server
│ ├── Dockerfile
│ ├── jest.config.ts
│ ├── package.json
│ ├── src
│ │ ├── app.ts
│ │ ├── config
│ │ ├── index.ts
│ │ ├── middleware
│ │ ├── types
│ │ └── utils
│ ├── test
│ ├── tsconfig.app.json
│ ├── tsconfig.json
│ ├── tsconfig.spec.json
│ ├── web.config
│ └── yarn.lock
├── commitlint.config.js
├── docker-compose.yml
├── package.json
└── yarn.lock
```

## Database

![ERD](assets/prisma-erd.svg)

## Contributing

<a href="https://github.com/orgs/lyve-app/lyve-backend/graphs/contributors">
<img src="https://contrib.rocks/image?repo=lyve-app/lyve-backend" />
</a>
2 changes: 2 additions & 0 deletions assets/prisma-erd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b79db3b

Please sign in to comment.