Skip to content

berdal84/biostack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d8ce0fd · Jan 22, 2024

History

75 Commits
Jan 18, 2024
Jan 22, 2024
Jan 22, 2024
Jan 19, 2024
Jan 22, 2024
Jan 19, 2024
Jan 20, 2024
Jan 19, 2024
Jan 19, 2024

Repository files navigation

Frontend CI

Biostack

This project is a client/server to manage Biotech Data. It is implemented using FastAPI and NextJS, with a Postgres database. Code is written in Python and TypeScript.

Note: this project is an exercise

Quick Start

There is two ways to start the apps, the first one rely on docker and docker-compose. The second uses bash scripts to run each service via commands.

Install and Run

Using Docker/Docker-Compose

Prerequisites: docker and docker-compose 3.8+

Run docker-compose up

Manually

Prerequisites: a GNU/Linux Operating System, postgresql 14+, node 14+, python 3.12

To install and run both front and back end, run the following commands:

./install.sh
./run.sh

Launch

Then, browse 127.0.0.1:3000 to open the app. Or browse 127.0.0.1:8000/docs to access backend documentation.

The front and back end are located in ./frontend and ./backend folders respectively. For more information, read backend's readme and frontend's readme go know more about it.

Road Map

General

  • Add more fields on a sample detail (notes, tags, etc.)
  • Permissions: add a user table and credentials on the API
  • Use multipart/form-data to upload a sample (name, type,..., and file! )

Frontend

  • Implement file upload on the UI
  • Highlight items in the light, so user can understand they are clickable.
  • Add small icon-buttons to edit/delete/view a sample (only visible when row is hovered)

Backend

  • Add postres and fastapi to the existing docker-compose.yml
  • User Github actions to run pytest with postgres (service)