2023-12-10 13:50:18 +00:00
# Helseveileder
2024-02-14 22:57:37 +00:00
> Bachelor-project ~ Spring 2024
## 📋 Table of Contents
1. 📝 [Info ](#info )
2. ⚙️ [Tech Stack ](#tech-stack )
3. 🔋 [Features ](#features )
4. 🤸 [Quick Start ](#quick-start )
2024-05-03 10:23:30 +00:00
5. 🎥 [Demo ](#demo )
6. 🔗 [Links ](#links )
7. 📄 [License ](#license )
2023-12-10 13:50:18 +00:00
## 📝 Info
2024-02-14 22:57:37 +00:00
This repository contains our Bachelor project for Spring 2024. This project is a collaborative effort with medical students and researchers from UiB (University of Bergen).
As a part of this project we needed to scrape questions and answers from [Studenterspør.no ](https://studenterspor.no/ ). This involved developing a webscraper to extract the necessary data. You can explore the source code [here ](https://github.com/SindreKjelsrud/helseveileder_webscraper ).
## ⚙️ Tech Stack
- Go
- Svelte
- TypeScript
- Tailwind CSS
- PostgreSQL
## 🔋 Features
2024-05-02 14:45:44 +00:00
👉 **Accessibility:** Ensure access & usability for all users.
2024-05-02 15:24:08 +00:00
👉 **Bug Reporting:** Respondents can report a bug if they found one.
2024-05-02 14:45:44 +00:00
2024-05-02 15:24:08 +00:00
👉 **Evaluation of survey:** Respondents can evaluate survey if wanted.
2024-02-14 22:57:37 +00:00
## 🤸 Quick Start
2024-05-03 10:23:30 +00:00
### Server Setup
2024-01-08 13:29:51 +00:00
2024-05-03 10:23:30 +00:00
The server relies on `Docker Compose` for environment management. Ensure that it's installed on your system.
2024-01-08 13:29:51 +00:00
2024-05-03 10:23:30 +00:00
- **Getting Started:**
i. Go into the server directory: `cd backend`
ii. Copy `.env.example` to `.env`
iii. Build Docker environment: `docker compose -f docker-compose.dev.yml build`
iv. Launch the Docker environment; `docker compose -f docker-compose.dev.yml up -d`
- **API Access:** The API is now accessible at `http://localhost:8080` .
### Client Setup
2024-01-08 13:29:51 +00:00
2024-05-03 10:23:30 +00:00
The client uses `npm` for package management. Ensure that it's installed before proceeding.
2024-05-02 14:45:44 +00:00
2024-05-03 10:23:30 +00:00
- **Getting Started:**
i. Navigate to the client directory: `cd frontend`
ii. Copy `.env.example` to `.env`
iii. Install dependencies: `npm i`
iv. Start dev-server: `npm dev run`
- **Website Access:** The site is now available at `http://localhost:5173` .
2024-02-14 22:57:37 +00:00
2024-05-02 15:40:15 +00:00
## 🎥 Demo
https://github.com/haraldnilsen/helseveileder/assets/93219711/0b9590a5-736a-41d5-9888-51a1232dc591
2024-02-14 22:57:37 +00:00
## 🔗 Links
See also links below for related info about project:
- [Helseveileder-webscraper ](https://github.com/SindreKjelsrud/helseveileder_webscraper )
## 📄 Licence
This project is licensed under the [MIT License ](./LICENSE ).