Giter Site home page Giter Site logo

cloud-computing-summative's Introduction

WaglyJs

WaglyJs is an express web app that is to be implemented in the cloud

PLEASE NOTE

At current the login system is insecure due to storing access token in localStorage. For production change to using something like redis

TODO:

  • Look into deploying database funcitons in cloud
  • Maybe jwt in cloud aswell

Usage

The web app should be available on: jjhwagly.azurewebsites.net

Current Logins: Walker:

    Username: walker
    Password: pass

Owner:

    Username: owner
    Password: pass

However, if you wish to run the app locally see below

Installation

To install required packaged please run

npm i

To run this web app locally you must also set up a .env file with the following

HOST_NAME:      Name of host (URL or IP)
PORT:           Port to listen on
CONNECT:        Connection URI for mongodb database
ACCESS_SECRET:  Secret key for access token
REFRESH_SECRET: Secret key for refresh token

Run code

Use the command to start the server, then navigate too 127.0.0.1:8080 if run locally

npm run start

cloud-computing-summative's People

Contributors

jennics-sg avatar

Watchers

 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.