A chat app that offers the possibility to signup as user and chat with other users
- Node.js and npm installed
- Docker installed
- Run the database image:
docker compose up
- 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
- Copy the
.env.example
to create a new file.env
- Install the dependencies:
npm install
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.
- Websocket
- JWT management
- Login
- Signup
- Chat with any member
- Create channels
- XXX