-
Notifications
You must be signed in to change notification settings - Fork 0
Run API
Alvin Cheng edited this page Apr 28, 2023
·
5 revisions
The Chill&chat API is made with NodeJS please follow the steps to clone/run.
git clone https://github.com/Chillandchat/api/
KEY= # Replace with custom API key.
DATABASE_URI= # Replace with MongoDB database URI.
PORT= # Replace with the 1. port number.
API_EMAIL= # Replace with email
API_EMAIL_PASS= # Replace with email password
GIPHY_KEY= # Replace with Giphy key
Yarn:
yarn && yarn build && yarn start # Installs packages, builds and starts the app with yarn
Npm:
npm install && npm build && npm start # Installs packages, builds and starts the app with npm
From v1.8.0, you must have ffmpeg
installed on your machine to convert GIFs from mp4 video formats.
More information and download link: https://ffmpeg.org/
- Home
- Login endpoint
- Block user endpoint
- Create room endpoint
- Delete user endpoint
- Get all rooms endpoint
- Get GIF endpoint
- Get messages endpoint
- Get public rooms endpoint
- Get user info endpoint
- Get users info endpoint (Deprecated)
- Join room endpoint
- Signup endpoint
- Report room endpoint
- Remove room endpoint
- Update description endpoint
- Follow user endpoint
- Unfollow user endpoint
- Update icon color endpoint
- Upload content endpoint
- Upload content endpoint (Deprecated)
- Verify client endpoint
- Upload token endpoint
- Chill&chat websockets
- Message socket
- Keyboard socket
- Delete message socket
- User content
- Final words&thoughts
- Run API