Official backend for webpage of the ELIXIR Cloud & AAI project.
ELIXIR Cloud & AAI develops services towards establishing a federated cloud computing network that enables the analysis of population-scale genomic and phenotypic data across participating, international nodes.
This website is built using the Express.js framework for Node.js. This will build the api server for the elixir cloud landing page.
Content for the website is fetched from Notion & Twitter API, where it can be conveniently edited by authorized users. If you are a member of ELIXIR Cloud & AAI and would like to contribute, please contact the administrator.
Any contributor is welcome to contribute to the website.
To set up the development environment, follow the steps:
- Fork & clone this repository on your local machine.
- Install the required dependencies:
npm install
- Create the Notion account.
- Open the Elixir Cloud & AAI notion page & duplicate it to your account.
- Create the Notion developers account with the same email. Create a new integration in your account & store the Internal Integration Token. Link the integration to the duplicated page in your account.
- Create a new file in the root directory with the name
.env
& add your Internal Integration Token as Notion Token:
NOTION_TOKEN=<YOUR-NOTION-TOKEN>
- Go to Twitter API & get your own API key & add your API key in the
.env
file as:
TWITTER_TOKEN=<YOUR-TWITTER-API>
- Add the following also to the
.env
file:
PORT=5000
- Start the local development server by:
npm run dev
-
Create the Notion account & create the Notion developers account with the same email. Create a new integration in your account & store the Internal Integration Token. Link the integration to the duplicated page in your account.
-
Go to Twitter API & get your own API key.
-
In the production env specify the following
env variables
:
PORT=8080
NOTION_TOKEN=<YOUR-NOTION-TOKEN>
TWITTER_TOKEN=<YOUR-TWITTER-API>
- Deploy
The project adopts the semantic versioning scheme for versioning. Currently the site is in beta stage, so content will change frequently.
This project is available under the MIT License also shipped with this repository.
The project is a collaborative effort under the umbrella of ELIXIR Cloud & AAI. Follow the link to get in touch with us via chat or email. Please mention the name of this service for any inquiry, proposal, question etc. Alternatively, you can also make use of the issue tracker to request features or report bugs.