is a simple chat that was built with entire javascript technologies, for the frontend, backend and database.
- Nodejs
- Express
- Socket.io
- PostgreSQL
git clone https://github.com/fazt/chat-javascript-fullstack.git
cd chat-javascript-fullstack
npm install
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/chat_app
Remember to replace the DATABASE_URL with your own PostgreSQL URI.
npm run dev
docker compose up -d
docker exec -it chatdb psql -U postgres -d chat_app
then in order to create the tables, paste the content of the database/db.sql file and run it.