Giter VIP home page Giter VIP logo

master_ontology_app's Introduction

master_ontology_app

Application for managing master ontology

Architecture Diagram

Architecture Diagram

Authorization Workflow

Authorization workflow

Backend

The backend of the project is built based on the aws-nodejs-typescript template from the Serverless framework.

Installation/deployment instructions

Depending on your preferred package manager, follow the instructions below to deploy your project.

Requirements: NodeJS lts/fermium (v.14.15.0). If you're using nvm, run nvm use to ensure you're using the same Node version in local and in your lambda's runtime.

Using NPM

  • Run npm i to install the project dependencies
  • Run npx sls deploy to deploy this stack to AWS

Using Yarn

  • Run yarn to install the project dependencies
  • Run yarn sls deploy to deploy this stack to AWS

Project structure

The code base for backend is mainly located within the backend/src folder. This folder is divided in:

backend
├── src
│   ├── lambda               # Lambda configuration and source code folder
│   │   ├── auth
│   │   │   ├── userPoolAuthorizer.ts      # lambda function handling API Gateway authorization
│   │   ├── dynamoDb
│   │   │   ├── elasticSearchSync.ts      # lambda function to sync elasticsearch with DynamoDB
│   │   ├── elasticSearch
│   │   │   ├── query.ts      # lambda function to perform full text search against elasticsearch engine
│   │   ├── http
│   │   │   ├── createOntology.ts      # lambda function to add a new ontology into DynamoDB
│   │   │   ├── deleteOntology.ts      # lambda function to delete an ontology from DynamoDB
│   │   │   ├── getOntologies.ts      # lambda function to scan all ontologies from DynamoDB
│   │   │   ├── getOntology.ts      # lambda function to retrieve a single ontology from DynamoDB
│   │   │   ├── updateOntology.ts      # lambda function to update an ontology entry from DynamoDB
│   │
├── package.json
├── serverless.ts               # Serverless service file
├── tsconfig.json               # Typescript compiler configuration
├── tsconfig.paths.json         # Typescript paths
└── webpack.config.js           # Webpack configuration

Frontend

The frontend of the project is built with React.js.

Available Scripts

In the client directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Deployment Instructions

  • In client directory, run amplify publish to deploy

master_ontology_app's People

Contributors

kevinxin90 avatar

Watchers

James Cloos avatar  avatar  avatar

master_ontology_app's Issues

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.