Skip to content

Releases: UCLL-Full-stack/project2425-groep4-19

FINAL

Choose a tag to compare

@AndyAlijiUCLL AndyAlijiUCLL released this 20 Dec 19:43
9957314

Project 2425 Groep4-19

Overview

This project is a full-stack application consisting of a front-end and a back-end. The front-end is built with React, and the back-end is built with Node.js and Express. The project follows a layered architecture and uses Prisma for database interactions.

Prerequisites

Node.js and npm

You will need to install Node.js and npm to run the application. You can download Node.js from https://nodejs.org/en/download/. Make sure to download the LTS version.

PostgreSQL

Ensure you have PostgreSQL installed and running on your local machine. You can download it from https://www.postgresql.org/download/.

VSCode

We recommend using VSCode for development. Make sure you have the following extensions installed and enabled:

  • Prettier - Code formatter
  • Auto Rename Tag
  • GitLens - Git supercharged

Getting Started

Clone the Repository

First, clone the repository from GitHub:

  git clone https://github.com/your-username/project2425-groep4-19.git
  cd project2425-groep4-19


The backend server should be started from the back-end directory:

   ```sh
  cd back-end
  npm i
  npx prisma migrate dev
  ts-node app.ts "or" npm start

http://localhost:3000/status

1. Navigate to the front-end directory:

   ```sh
   cd front-end/stockk
   npm install
   npm run dev

http://localhost:8080

for tests : npm test
  

Release VERSIE1

Choose a tag to compare

@AndyAlijiUCLL AndyAlijiUCLL released this 03 Nov 21:57
77d5e5b

Release VERSIE1

Story to Evaluate

Story2: As a User, Manager or Admin, I want to update stock numbers, so I can keep the stock levels accurate when deliveries arrive or items are sold.

Acceptance Criteria:

  • The user can search for items in the stock list.
  • The user can modify the quantity of items in stock.
  • Changes are reflected in real-time and visible to all users.

How to Test:

  1. Navigate to the front-end directory:
    cd front-end/stockk
    npm install
    npm run dev

http://localhost:8080/stock
http://localhost:8080/

Required Libraries:

  • Tailwind CSS
  • Chart.js
  • React-Chartjs-2

Additional Information:

The backend server accessible at

The backend server should be started from the back-end directory:

cd back-end
ts-node app.ts "or" npm start