Giter Site home page Giter Site logo

drone-project-server's Introduction

Drone-Project Server

We need a server to save and retrieve data. This is a more or less lightweight approach to it. Here you will find every written code by me in order to run the server and required services.

Prerequisites:

In order to run the server and to modify the code you will need the following:

  • A installation of Node.js (My version is v10.16.3)
  • The Node-Package Express needs to be installed
  • The Node-Package NeDB needs to be installed
  • Your prefered code editor (eg. Visual Studio, etc.)

Getting started

Set-up

Install and test Node.js

Go to there website, download and install the current version.

To check if Node.js was installed successfully, enter "node --version" into PowerShell.

If everything went fine you can see the version number.

The "package.json" file

This file contains usefull information about the project and which dependencies exist.

First navigate to your project folder in PowerShell. (use the command cd)

Once you're there type in "npm init"

Enter the data.

After that the newly created file can be seen in your code editor if you opened the folder of your project.

Install Express npm

In order to install "Express", a lightweight server implementation navigate to your project folder in PowerShell. Then enter "npm install express"

As soon as it is finished you will see that in the package.json file the "express dependencie" was added.

There is also a new folder "node_modules". It contains all the other dependencies express needs in order to run.

Running it

In order to start express enter "node filename.filetype"

Install NeDB npm

Enter "npm install nedb" in PowerShell while being in your project folder. If the install was successfull the dependencie will be added in your package.json file.

drone-project-server's People

Contributors

benedicthomuth avatar

Watchers

James Cloos avatar  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.