Skip to content

Latest commit

 

History

79 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Rihen Universe

This branch contains the complete codebase for the Rihen Universe platform, a collaboration and e-learning solution. The project is structured into two main parts: the frontend and the backend, each located in its respective directory.


Project Overview

Purpose

Rihen Universe is a platform designed to facilitate:

  • Project Management: Streamlining internal communication and task management.
  • Internal Training: Providing an efficient environment for employee development.

Key Technologies

  • Frontend: Built with Next.js, providing a dynamic and responsive user interface.
  • Backend: Developed with Flask and documented using Flask-RESTx.
  • Database: PostgreSQL for reliable and structured data storage.

Project Structure

main/
|-- frontend/    # Contains the Next.js frontend code
|-- backend/     # Contains the Flask backend code
|-- README.md    # Documentation for the fullstack project

Frontend

The frontend/ directory includes all the code for the user interface built with Next.js.

  • Entry point: frontend/src/pages/index.js
  • Reusable components: frontend/src/components/
  • Styles: frontend/src/styles/

Refer to the frontend/README.md for detailed setup instructions.

Backend

The backend/ directory includes the API and business logic developed with Flask and Flask-RESTx.

  • API routes: backend/app/routes/
  • Database models: backend/app/models.py

Refer to the backend/README.md for detailed setup instructions.


Prerequisites

  • Node.js (v18 or higher)
  • Python (v3.10 or higher)
  • PostgreSQL

Setup Instructions

Step 1: Clone the Repository

git clone https://github.com/GDev-Karl/rihen_platform.git
cd rihen_platform

Step 2: Setup the Frontend

  1. Navigate to the frontend/ directory:
    cd frontend
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev
  4. Access the frontend at:
    http://localhost:3000
    

Step 3: Setup the Backend

  1. Navigate to the backend/ directory:
    cd backend
  2. Create a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows
    venv\Scripts\activate
  3. Install dependencies:
    pip install -r requirements.txt
  4. Configure the PostgreSQL database in the .env file:
    DATABASE_URL=postgresql://<user>:<password>@<host>:<port>/<database>
    
  5. Start the Flask server:
    flask run
  6. Access the backend API at:
    http://127.0.0.1:5000
    

Deployment

  • Frontend: Not deployed yet
  • Backend: Rihen API

Contribution Guidelines

Contributions are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature/your-feature-name
  3. Commit your changes:
    git commit -m "Description of your changes"
  4. Push the branch to your fork and open a pull request.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages