Skip to content

DZD-eV-Diabetes-Research/DZDMedLog

Repository files navigation

Frontend

Techstack

  1. Nuxt3
  2. Scss / Tailwind
  3. Yarn as package manager

How to setup Nuxt (required)

If not alreade installed, install the current Node.js LTS-Version (Long time support) (recommended)

You can check if everything went as planned, by typing the following commands in your terminal:

node -v

example output 
v21.02.1 

npm -v

example output
9.5.1

I recommend using Yarn instead of npm as a package manager, it is faster and more secure

Yarn (v1) installation:

npm install --global yar

Again check the installation via:

yarn --version

For Version 3+ see the installation here

Usefull VS-Code Extensions

  1. Vue - Official
  2. Prettier Code formating (Optional)
  3. ESLint checks Javascript/Typescript for common errors (optional)

How to run

  1. cd Medlog/frontend

  2. yarn / npm install

  3. yarn dev / npm run dev

  4. Add the localhost address to the server.env file

  5. Start the Server (cd ../..)

  6. python3 MedLog/backend/medlogserver/main.py