Skip to content

hanaCasey/SHACL-validation-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHACL-validation-task

This project consists of a backend built with Python and a frontend built with React. Below are the steps to set up the environment, install dependencies, and run both the backend and frontend.

Prerequisites

Before starting, ensure you have the following installed:

  • Python 3.x: Download Python
  • pip: Python package manager (comes with Python installation)
  • Node.js: Includes npm, the Node package manager Download Node.js

Backend Setup

1. Navigate to the backend directory:

cd backend

2. Install the backend dependencies

pip install -r requirements.txt

3. Run the backend server

python3 app.py

The backend will run on http://localhost:3000 by default.

Frontend Setup

1. Navigate to the frontend directory:

cd frontend

2. Install the frontend dependencies

npm install

3. Run the backend server

To start the React development server, run

npm start

The frontend will open in your Browser at http://localhost:3000.

Running the Full Application

To run the full application, follow these steps:

  1. Start the Backend Server:
  1. Start the Frontend Development Server:

Once both servers are running, the frontend can communicate with the backend, and the full application will be functional.

Notes

Make sure that your backend and frontend ports are properly configured and that CORS is handled if necessary, especially for API calls from the frontend to the backend. Ensure that both servers are running simultaneously for the app to function correctly.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published