Skip to content

RuffLogix/computer-network-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Network - Project

This repository contains the code for a chat application developed as part of a computer networks course project. The application consists of a backend server written in Go and a frontend application built with Next.js.

Demo

Tech Stack:

  • Backend: Go (Gin, Gorilla WebSocket, MongoDB)
  • Frontend: Next.js, React, TypeScript, Tailwind CSS

Backend

To run the backend server, navigate to the backend directory and execute the following command:

cd backend && go run ./cmd/server

To generate wire dependencies, use:

cd backend/cmd/server && wire .

Frontend

To install dependencies for the frontend application, navigate to the frontend directory and run:

cd frontend && pnpm install

To run the frontend application, navigate to the frontend directory and execute:

cd frontend && pnpm run dev

Docker Compose

You can also run the entire application using Docker Compose. Make sure you have Docker and Docker Compose installed, then run:

docker-compose up --build

This will start both the backend and frontend services along with a MongoDB database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5