This repository contains the backend for Hobb.ee. The web application was built as part of the SEBA-Master course 2021 at TUM by team 01.
Hobb.ee is a social networking service that helps individuals meet new people with common interests by recommending activity-oriented groups based on their personal preferences.
The frontend can be found here
Follow this readme to build and run the hobb.ee backend locally.
Both for the frontend and the backend:
- nodejs
- official website
- version 16.3
- npm js
- offical website (node package manager)
- version 7.16.0
Only for backend:
- mongodb
- official installation guide
- v4.4.6
Clone the hobb.ee-backend repository using git:
Navigate to the root-folder that you want to clone your backend into. A file structure for the project we recommend would be the following:
- /root-folder/
- /root-folder/hobbee-frontend/
- /root-folder/hobbee-backend/
- /root-folder/database/
Create and navigate to your root-folder.
git clone https://github.com/Gozzim/hobbee-backend.git
Go to your backend folder via command line:
cd path/to/root-folder/hobbee-backend
Install node dependencies
npm install
Adjust the .env
parameters with your config
For this project we have set up a remote database to which the backend will automatically connect on backend startup. So you do not need to connect a database manually.
Simply enter
Production environment
npm start
Imports Now you need to import various data into your database via the following script
npm run import
Happy testing!
This code and content is released under the GNU AGPL license.