https://github.com/mitchi-02/chat-saas
This is a Chat Saas built with Node 18, Socket.IO and MongoDB, with a demo app sample built with NextJS 13.
https://github.com/mitchi-02/chat-saas
docker docker-compose express mongodb mongoose next-auth nextjs13 nodejs socket-io tailwindcss typescript
Last synced: 3 months ago
JSON representation
This is a Chat Saas built with Node 18, Socket.IO and MongoDB, with a demo app sample built with NextJS 13.
- Host: GitHub
- URL: https://github.com/mitchi-02/chat-saas
- Owner: Mitchi-02
- License: mit
- Created: 2023-12-27T12:02:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-27T20:54:39.000Z (over 2 years ago)
- Last Synced: 2023-12-28T16:23:38.577Z (over 2 years ago)
- Topics: docker, docker-compose, express, mongodb, mongoose, next-auth, nextjs13, nodejs, socket-io, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 955 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chat SaaS
My internship project at [Icosnet](https://icosnet.com.dz/). You can read the documentation from [here](https://drive.google.com/file/d/1adG5pWe_yIKPHsgGYlukDx9v5KQuzze3/view?usp=drive_link).
- The server is built using Node 18 (typescript), Express, SocketIO and MongoDB.
- The demo third party app is built using Next 13.
## Getting started
### Server
#### Via Docker
Don't forget to fill docker compose db credentials, and server container env.
- Seeders will run and a dev server will start will run if NODE_ENV=developement.
- Else the prod server will start.
```
docker compose up
```
#### Without Docker
Don't forget to fill the env variables and start a mongodb server.
```
cd server
cp .env.local.example .env
npm / yarn / pnpm install
npm / yarn / pnpm dev
```
### Demo App
Don't forget to put the right env variables.
```
cd demo-app
cp .env.local.example .env.local
npm / yarn / pnpm install
npm / yarn / pnpm dev
```