Transform your organizational data management with Statzy Nuxt, the web-based solution for a streamlined and interactive experience.
The evolution of StatzyGUI, Statzy Nuxt harnesses Nuxt.js to offer a modern, user-centric data management system. Organize, edit, and view entity information with unparalleled ease. Interact edifyingly with back-end data through a clear and coherent interface.
To run Statzy Nuxt, a PostgreSQL database is required. Set up the necessary tables and relationships. This application expects the following structure:
- Tables:
person
,server
,fachverfahren
, and others related to your entities. - Relationships: Establish proper foreign keys between
person
andserver
to enable connections within the application.
Your .env
file should include the following environment variables:
DB_USER=your_username
DB_HOST=localhost_or_your_database_host
DB_NAME=your_database_name
DB_PASSWORD=your_database_password
DB_PORT=your_database_port
After configuring the .env
file, verify that the database connection works correctly by running a test query through the application.
Ensure Node.js and npm are installed. Follow these steps:
-
Clone the repository:
git clone https://github.com/ZIT-P22/statzy-nuxt.git cd statzy-nuxt
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Production build:
npm run build
-
Start production server:
npm start
- Login: Start at
/login
with correct credentials. - Entity Management: Navigate to
/fachverfahren
or/servers/*
to modify or view related data. - Data Operations: Perform data operations via server APIs provided within the
./server/api/
directory.
For example:
- Listing persons:
GET /api/persons
- Creating a server:
POST /api/servers/create
- Fetching server details:
GET /api/servers/:id
- User authentication and session management
- Responsive front-end with Nuxt.js and Tailwind CSS
- Database CRUD operations through server API endpoints
- PostgreSQL integration
- Dynamic server-side rendering
Key components within the ./server/
directory include:
auth.js
: Middleware for user authenticationlog.js
: Simple request logging middlewaredb.js
: Setup of PostgreSQL database connection*.js
files in./api/
: Define endpoints for database operationsauswahl_data.js
: Deliver dropdown selection data on server initialization
We encourage community contributions:
- Fork and clone the repository.
- Create a feature branch (
git checkout -b feature/AmazingFeature
). - Add commits (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Submit a pull request.
Please ensure your contributions follow the established coding conventions and include comments for clarity.
Statzy Nuxt is open-sourced under the MIT License. See the LICENSE file for more details.