HELIX

Application Technical Details

Frontend

HTML

SASS

AngularJS

ThreeJS

 

Backend

NodeJS

EXPRESS

MongoDB

 

Authentication System

JSON Web Token (JWT)

Client

Server

POST   /signin   { email:..., password: ... }

HTTP 200   { token: ... }

GET   /collection    HTTP HEADER Authorization: Bearer token...

HTTP 200   { collection: ... }

REST API & CRUD

PUT   /collection

// authenticate user
Collection.update( { userId: payload.userId }, collection, { upsert: true }, function ( err ) {
    // return http response
} );

GET   /collection 

// authenticate user
Collection.findOne( { userId: payload.userId }, function ( err, collection ) {
    // return http json response
} );

READ 

CREATE  UPDATE  DELETE

TMDb API

helix

By nxxcxx

helix

  • 369