GithubHelp home page GithubHelp logo

martinteaching / phenoflow-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kithia/phenoflow-server

0.0 0.0 0.0 66 KB

Kithia Ngigi, 2023

License: MIT License

JavaScript 100.00%
student-project

phenoflow-server's Introduction

Phenoflow (modified server)

Portable, workflow-based phenotype definitions.

Configuration

.env

  1. Create a .env file in project root.

  2. To this file, add the following,

##

## Environment variables

##

## Server port

PORT = 3000

## GitHub personal authentication token

AUTH_TOKEN =

## GitHub 'organization' name

OWNER =

## Phenoflow user details

USER_NAME =

USER_EMAIL =

  1. Complete 'Organization' configuration.
  2. Add the generated personal access token to AUTH_TOKEN =
  3. Add the name of the created 'Organization' to personal access token to OWNER =
  4. Add a name and email address to USER_NAME = USER_EMAIL = accordingly, which identify the commiter.

Organization

  1. Visit https://github.com/settings/organizations.
  2. Create a new 'Organization'. The Free tier is sufficient.
  3. Visit https://github.com/settings/tokens.
  4. Generate a new Fine-grained Personal Access Token. - Select the created 'Organization' as the Resource owner. - Select All repositories under Repository access. - Select Read and write on all repository permissions under Permissions.

Install and Run

This is a Node.js server written with Express.js.

Server

  1. Install dependencies:
npm install
  1. Run server:
node index.js 

or...

nodemon 

Tests

Development

  • At the root directory, run all tests:

npm test

Usage

Development

The server runs by default on port 3000. Visit http://localhost:3000/[route] to test changes to GET endpoints and use software such as Postman to test changes to POST, PUT and DELETE endpoints.

Authors

Kĩthia Ngigĩ, King's College London Health Informatics

phenoflow-server's People

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.