IDATT2105 Full-stack application development semester project 2023. Task is to create an e-commerce marketplace like finn.no or letsdeal.no using Spring Boot and Vue.js without CSS frameworks. The project period is 17. march 2023 - 27. march 2023. Archive of https://github.com/BeatsuDev/let
  • TypeScript 42.8%
  • Java 31%
  • Vue 24%
  • CSS 1.5%
  • Shell 0.4%
  • Other 0.2%
Find a file
Arunan Gnanasekaran 01bc3c7888
Some checks failed
backend-testing.yml / docs: fix typo on docs (push) Failing after 0s
lint / lint (push) Has been cancelled
Frontend CI / cypress-run (push) Has been cancelled
docs: fix typo on docs
2023-03-29 02:51:53 +02:00
.github fix: cd to backend in same command run as mvn clean 2023-03-27 23:25:21 +02:00
backend docs: fix typo on docs 2023-03-29 02:51:53 +02:00
docs fix: swagger docs no longer uses buggy inheritance 2023-03-27 15:45:27 +02:00
frontend fix: form margin on mobile view 2023-03-28 19:06:24 +02:00
.gitignore Initial commit 2023-03-18 11:04:33 +01:00
LICENSE.md feat: add license 2023-03-19 13:13:15 +01:00
README.md docs: add documentation 2023-03-27 04:48:44 +02:00

Let.no - e-commerce marketplace

Let.no is a website created for the Full-stack application development subject's semester project at NTNU. Let.no allows users to simply buy and sell items. The website is built with Vue 3, Vite, and the backend is built with Spring Boot.

Developer section

Before you start

The frontend is formatted with Prettier, and linted with ESLint, and the backend is formatted with Spotless. To ensure that your code is formatted correctly, you should ensure to format your code before committing. To do this easily, you can add this hook inm your .git/hooks/pre-commit file:

#!/bin/bash

# Change work-dir to git root
pushd $(git rev-parse --show-toplevel) > /dev/null
FILES=$(git diff --cached --name-only --diff-filter=ACM | grep "^frontend/")

### Frontend formatter and linter ###
if [ -n "$FILES" ]; then
    cd frontend
    npm run lint
    npm run formatter
    cd ..
    git add $FILES
fi

### Backend formatter ###

# Get the list of modified files
FILES=$(git diff --cached --name-only --diff-filter=ACM | grep "^backend/")

# Run Spotless only if there are modified files in the backend folder
if [ -n "$FILES" ]; then
    cd backend
  mvn spotless:apply --quiet
    cd ..
  git add $FILES
fi

# Reset work-dir
popd > /dev/null

Contributing

To contribute to the project, you should first fork the repository, and then clone it to your local machine. You should then create a new branch for your feature, and when you are done, you should create a pull request to the main repository.