- Postman Docs : remed-binar.postman_collection.json
- Swagger : /api/docs
Installation project - manual
clone project
git clone https://github.com/erzaffasya/TaskBinar
add node modules
npm install
rename file
.env.example -> .env
configuration db in file .env
create db
sequelize db:create
migrate table
sequelize db:migrate
run applicatiion
npm run dev
Installation project - docker
customize env in file docker-compose.yml -> platinum run docker compose in project
docker-compose up -d
open terminal container project in docker app
migrate table
sequelize db:migrate
open app in browser
localhost:8889
Step 1 : Open Link : http://localhost:8889/api/chat/?role=user
Step 3 : Join Room
Step 4 : Open Link : http://localhost:8889/api/chat/?role=admin
Step 5: Join Room