Giter Site home page Giter Site logo

dpliakos / it_api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apavlidi/it_api

0.0 2.0 0.0 653 KB

The Internet services of the IT department of Alexander Technological Education Institute of Thessaloniki

Home Page: http://api.it.teithe.gr/

License: MIT License

JavaScript 100.00%

it_api's Introduction

IT_API is an API that integrates with the Internet services of the department of Information Technology at Alexander Technological Education Institute of Thessaloniki

Installation

Requirements

  • You should have nodejs installed.If you don`t just go here and install it.
  • You should have an internal IP of the IT departpment.Connect via vpn with the instructions here.
  • You have to use preconfigured server with LDAP and MongodDB as described here

Windows

  • You have to clone the project first.
    $ git clone https://github.com/apavlidi/IT_API.git

  • Before installing the modules you have to specifically install node-canvas.
    Follow the instructions here to install it: https://github.com/Automattic/node-canvas/wiki/Installation%3A-Windows

    Note: In case you can't install it you can alternatively do the following: You have to commend every line that contains the text2png module. After you commended it just run: $ npm run startDevWindows
    You can either search on the project for its usage but for now it is on /routes/ldapFunctions.js

  • Go to the projecet's folder and run the following command
    $ npm install

  • Next run:
    $ set NODE_ENV=development & LDAP_HOST=ldap://{LDAP-SERVER-IP}:389 & LDAP_USER={USER} & LDAP_PASSWORD={PASSWORD} MONGO_URL=mongodb://{USER}:{PASSSWORD}@{SERVER-IP}/myappdev?authSource=admin

Linux

  • You have to clone the project first.
    $ git clone https://github.com/apavlidi/IT_API.git

  • Go to the projecet's folder and run the following command
    $ npm install

  • Next run:
    $ NODE_ENV=development LDAP_HOST=ldap://{LDAP-SERVER-IP}:389 LDAP_USER={USER} LDAP_PASSWORD={PASSWORD} MONGO_URL=mongodb://{USER}:{PASSWORD}@{SERVER-IP}/myappdev?authSource=admin

Mac OS

  • You have to clone the project first.
    $ git clone https://github.com/apavlidi/IT_API.git

  • Go to the projecet's folder and run the following command
    $ npm install

  • Next run:
    $ NODE_ENV=development LDAP_HOST=ldap://{LDAP-SERVER-IP}:389 LDAP_USER={USER} LDAP_PASSWORD={PASSWORD} MONGO_URL=mongodb://{USER}:{PASSWORD}@{SERVER-IP}/myappdev?authSource=admin

Pro Tip!: You can make a script and pass these variables and run the script instead of running the whole command in every run

Documentation

You can find the IT_API documentation here.

Contributing

The main purpose of this repository is to continue to evolve IT_API core, making it faster,more maintanable and more scalable. Development of IT_API happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements.

Contributing Guide

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to IT_API

Good First Issues

To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs or enhancement with relatively limited scope. This is a great place to get started.

it_api's People

Contributors

apavlidi avatar kvisnia avatar snyk-bot avatar

Watchers

James Cloos avatar Dimitrios Pliakos avatar

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.