Skip to content
 
 

Latest commit

 

History

253 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This instance has been modified to suit the needs of a specific web application.

Original RESTful version: v0.2.239 (this is the version of RESTful this fork came from)

Check out RESTful API at

Another RESTful API

What is this

A Node.JS based API that also functions as content delivery. It's main purpose is to provide authentication/ACL and also to deliver content like websites and application/* data

This is going to be used for an application I'm currently making.

Setup

View deployment instructions

Usage

The application can be launched in multiple environment modes (this is still a WIP, going to introduce features into each environment like security features etc)

Using an environment: NODE_ENV=env-name node.

The current env-name's in the project are:

  • production (123.456.789.012:80/443)
  • staging (0.0.0.0:8080/8081)
  • tokClear (clears expired tokens)

If there is no environment defined when starting the application then it defaults to staging.

To clear expired tokens while the server is running run: NODE_ENV=tokClear node .

Dependancies

None(ish)!

I have no imports, no need for a package.json or any dependacy management. But this DOES require Node 8.*.

To-do

  • Logging
  • Change how the console displays requests and content
  • Actually build the authentication part of the API, at the minute it may only deliver content (poorly) and make some simple RESTful requests. I haven't actually put mutch into the API yet.

Credits

Credits file

Releases

Packages

Contributors

Languages