Skip to content

FINAL

Latest

Choose a tag to compare

@AndyAlijiUCLL AndyAlijiUCLL released this 20 Dec 19:43
· 4 commits to main since this release
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