Watch for Main Repository
Cetan app is an aplication for realtime chatting
- Git Bash
- Docker Desktop
- Email Account for sending mail with smtp. (need email and apps password). save it in env
- env for websocket
PUSHER_APP_ID=whateveryouwant
PUSHER_APP_KEY=whateveryouwant
PUSHER_APP_SECRET=whateveryouwant
git clone https://github.com/candradimuka-community/cetan.git
cd cetan
cp .env.sample .env
docker-compose up --build -d
you dont have a database migrated. now you can running artisan command like below
you can running artisan command by :
docker container exec api php artisan command
example for get route list:
docker container exec api php artisan route:list
docker container exec api php artisan websockets:serve
- Hot Reload NextJs. you dont need rebuild container in development
-
For frontend, use port 80 or you just need open 127.0.0.1 or http://localhost
-
For backend, use port 8000 or you just need open 127.0.0.1:8000 or http://localhost:8000
-
For documentaion, open 127.0.0.1:8000/api/documentation or http://localhost:8000/api/documentation
-
For realtime socket dashboard, open 127.0.0.1:8000/laravel-websockets or http://localhost:8000/laravel-websockets
you can contribute by clone this repo, create some changes and create PR
please dont change any dockerfile or docker-compose if you dont know about them
Thanks