Skip to content

SalomonisLab/oncosplice-api-server

Repository files navigation

Oncosplice Server

This is a Node.js server for interacting with postgres server.

What does a server do?

  1. Opens up a port to listen for incoming requests from clients
  2. Defines what to do with each request that comes in (the server's response).

To initialize this project do the following steps:

  1. git clone

  2. npm init

  3. npm install . (this will install all the dependencies from package.json)

  4. To download and install an NPM package into our project,express , we will need to run the following command from your terminal (make sure you are in your project’s root folder when you run this): npm i -s express

    -i is a shorthand alias for --install, you can use either. This will add express to a folder called node_modules in your root project folder.

    -s is a shorthand alias for --save , you can use either. This is a tag you can add to your npm install command to automatically save it to your package.json.

Make sure you're logged in to the correct vpn, and type http://localhost:8081/api/datasets/cancerdata into Postman's POST request. Use raw json data as input; here's an example you can use. ´{ "data": "GBM" }´

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published