Skip to content

Geka19/Team-4---Webproject

Repository files navigation

Team-4---Webproject

Webproject Autumn 2024 Team 4

Prerequisites

Before starting, ensure you have the following tools installed:

  • Git
  • Node.js (version 14 or newer)
  • npm (version 6 or newer)
  • MongoDB (MongoDB Atlas)

Cloning the Repository

Clone the project repository using the following command:

git https://github.com/Geka19/Team-4---Webproject.git
cd Team-4---Webproject

Building and Running with Docker

To build and run the project with Docker, you need to have Docker and Docker Compose installed on your machine. Once you have those installed, you can use the following commands:

Build the Docker images

docker-compose build

Run the Docker containers

docker-compose up

Frontend Setup

In a terminal window, navigate to the frontend directory and install dependencies:

cd frontend
npm install

To start the frontend part use

npm run start

The frontend should now be avaiable at http://localhost:3000

Backend Setup

In a new terminal window, navigate to the backend directory and install dependencies:

cd backend
npm install

To start the backend part use

npm run start

The backend should now be avaiable at http://localhost:8085

Testing

To run the tests on the frontend you can use the command

cd frontend
npm run test

To run the tests on the backend you can use the command

cd backend
npm run test

Team Members

Sebastian Skrøvseth Haugen, Guro Eline Karlsen, Johan Filip Karlsson, Simen Elvhaug

About

Webproject Autumn 2024 Team 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors