Skip to content

swsnu/swppfall2022-team9

Repository files navigation

LinkLink

Build Status Quality Gate Status Coverage Status

Preview

2022-12-18.3.27.25.mov

Site Address

https://linklinkchon.netlify.app/

How to run

Frontend

  • yarn installf
  • yarn start

Backend

  • cd backend
  • pip install -r requirements.txt
  • python manage.py runserver

How to test

Frontend

Unit Test

Used Enzyme for frontend testing

  • yarn testf

Lint Check

Used Eslint with eslint-config-airbnb

  • eslint srcor yarn lintf

Backend

Unit Test

Used Pytest and Coverage

  • cd backend
  • coverage run --branch --source='./linklink' manage.py test linklink/tests

Or type:

  • yarn testb

Lint Check

Used Pylint

  • cd backend
  • pylint --rcfile=pylintrc **/*.py

Or type:

  • yarn lintb

Language & Framework Versions

  • python == 3.8
  • Django == 4.1

Backend Commands

Load initial fake data

  • cd backend
  • python manage.py loaddata */fixtures/*.json

Or simply type:

  • yarn loaddb