Webproject Autumn 2024 Team 4
Before starting, ensure you have the following tools installed:
- Git
- Node.js (version 14 or newer)
- npm (version 6 or newer)
- MongoDB (MongoDB Atlas)
Clone the project repository using the following command:
git https://github.com/Geka19/Team-4---Webproject.git
cd Team-4---WebprojectTo 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:
docker-compose builddocker-compose upIn a terminal window, navigate to the frontend directory and install dependencies:
cd frontend
npm installTo start the frontend part use
npm run startThe frontend should now be avaiable at http://localhost:3000
In a new terminal window, navigate to the backend directory and install dependencies:
cd backend
npm installTo start the backend part use
npm run startThe backend should now be avaiable at http://localhost:8085
To run the tests on the frontend you can use the command
cd frontend
npm run testTo run the tests on the backend you can use the command
cd backend
npm run testSebastian Skrøvseth Haugen, Guro Eline Karlsen, Johan Filip Karlsson, Simen Elvhaug