Coder Social home page Coder Social logo

splitsky / resdata2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.77 MB

Full stack implementation of resdata API. Designed to operate and provide a free and open-source data pipeline to use in research for structured and semi-structured data

Shell 5.30% CMake 1.59% C++ 7.31% HTML 0.63% JavaScript 2.92% Svelte 25.67% Python 54.81% TypeScript 1.77%

resdata2's Introduction

ResData

THIS IS A PLACEHOLDER. I WILL WRITE IT PROPERLY ONCE SOMETHING WORKS

ResData is a comprehensive full-stack application designed to facilitate efficient data management and analysis for research groups. Built with FastAPI, MongoDB, Svelte, and Kubernetes, ResData aims to provide a robust and scalable solution for handling large datasets generated from lab equipment.

Table of Contents

Features

  • Real-time Data Ingestion: Stream data from lab equipment in real-time.
  • Secure Data Storage: Store data efficiently using MongoDB with robust security measures.
  • User-friendly Interface: Interact with your data through a modern Svelte-based frontend.
  • Scalability: Deploy on-premises or scale effortlessly using Kubernetes on AWS.
  • Integration with Jupyter: Seamlessly integrate Jupyter notebooks for advanced data analysis.
  • Continuous Development: CI/CD pipelines to ensure continuous integration and deployment.

Technology Stack

  • Backend: FastAPI
  • Database: MongoDB
  • Frontend: Svelte
  • Containerization: Docker
  • Orchestration: Kubernetes
  • Cloud: AWS

Installation

Prerequisites

  • Docker
  • Kubernetes (kubectl)
  • AWS CLI (if deploying to AWS)
  • Python 3.9+
  • Node.js

Backend

  1. Navigate to the backend directory:
    cd resdata/backend

Install the required dependencies:

bash

pip install -r requirements.txt

Run the FastAPI application:

bash

uvicorn app.main:app --reload

Frontend

Navigate to the frontend directory:

bash

cd resdata/frontend

Install the required dependencies:

bash

npm install

Start the Svelte application:

bash

npm run dev

Usage Running the Application Locally

Ensure both backend and frontend services are running.
Access the frontend at http://localhost:5000 (or the port specified in your configuration).

API Endpoints

GET /api/data: Fetch data
POST /api/data: Upload data
WebSocket /ws: Real-time data stream

Deployment On-Premises

Navigate to the scripts directory:

bash

cd resdata/scripts

Run the deployment script:

bash

bash deploy.sh

AWS Deployment with Kubernetes

Ensure you have configured AWS CLI and kubectl.
Update Kubernetes manifests in resdata/k8s.
Apply the Kubernetes configuration:

bash

kubectl apply -f resdata/k8s/

Contributing

Fork the repository.
Create a new branch (git checkout -b feature/your-feature).
Commit your changes (git commit -am 'Add some feature').
Push to the branch (git push origin feature/your-feature).
Create a new Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details. Contact

For more information, please contact:

GitHub: SplitSky

resdata2's People

Contributors

splitsky avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.