Skip to content

radhi-nasser/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat

Introduction

A chat app that offers the possibility to signup as user and chat with other users

Prerequisites

  • Node.js and npm installed
  • Docker installed

Getting started

Database

  • Run the database image:
docker compose up

Backend

  • Copy the .env.example to create a new file .env and change the database url.
  • Install the dependencies:
npm install
  • Generate the prisma client
npx prisma generate
  • Create the database migrations
npx prisma migrate dev

Frontend

  • Copy the .env.example to create a new file .env
  • Install the dependencies:
npm install

Running the app

Run the backend:

npm run start:dev

Run the frontend:

npm run start:start

The frontend will be available at: http://localhost:3000/ ( unless you change that).

And the backend will be available at: http://localhost:4000/ ( unless you change that).

You will have also Swagger documentation available at http://localhost:4000/docs/.

Both the app and api restart on code change.

Improvements Roadmap

Feature Improvements

  • Websocket
  • JWT management
  • Login
  • Signup
  • Chat with any member
  • Create channels

Tech Improvements

  • XXX

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published