Coder Social home page Coder Social logo

statina-ui's Introduction

Statina ui - Frontend for https://statina.scilifelab.se/

Staging frontend app: https://statina-stage.web.app/

About

This app is built with Create React App

Before running the app you need to install:

Available Scripts

Once cloned the repo, install dependencies with:

yarn install

To run the app three environment variables are needed:

  • REACT_APP_BACKEND_URL URL of the api endpoints for Statina.

To run:

REACT_APP_BACKEND_URL="the-backend-url-here" yarn start

example: REACT_APP_BACKEND_URL="localhost:28003" yarn start

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn coverage

run tests with coverage

yarn lint

will display linting issues.

yarn lint --fix

will fix the errors.

npx stylelint "**/*.css"

will display style lint issues.

npx stylelint "**/*.css" --fix

will fix the errors.

REACT_APP_BACKEND_URL="the-backend-url-here" yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

The app is deployed to a preview channel at every pull request and at every merge to master to staging and production

statina-ui's People

Contributors

elevu avatar moedarrah avatar islean avatar

Watchers

Erik Sjölund avatar Henrik Stranneheim avatar  avatar Valtteri Wirta avatar  avatar Maria Ropat avatar  avatar

statina-ui's Issues

Add comment in Batch page

investigate, where is the comment showing, should it show in the batches table as well? Only one comment?

Add report a bug dialog

Description

Make it easier for users to report bug. This would be nice to have in all our user facing UIs
Screen Shot 2021-09-28 at 16 23 33

Add roles support

Description

  • unconfirmed emails no, acticated no. If they login they will get a reminder to confirm email
  • inactive activated no, email yes. If they login they get a message that they are awaiting for activation
  • Read only read GET user/me. Can read anything. Will not be able to see POST/PUT endpoints UIs
  • admin delete batch / change user roles GET users. Will have an admin page with user admin

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.