Vishnu Kyatannawar
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ## Node API boilerplate ### Purpose We plan to create a boilerplate for the nodejs API. For any project we need to do few basic things before we start the project, - Create a repository - Add basic information of the API - Add a readme file - Create the folder structure - Add initial route for the API - Add few utilities which are used heavenly - Logging mechanism etc - Code linting setup The purpose of this component is to ensure that we have all these requirement bundled together so that these things are not repeated for every project. Any component which we want to create will use this as the fundamental foundation. ### Tasks Though most of this is already covered in caleido boilerplate still we found few issues/features needed while using the framework and we would like to fix these issues in out boilerplate. | Task | Estimate (hours) | | ------ | ------ | | Clone boilerplate from caleido azure repository. | 2 | | Migrate from node 10 to node 12 | 4 | | Add latest query helper code | 6 | | Create a separate repository for ENV | 8 | | Create a separate repository for logger | 8 | | Create a separate repository for excel | 8 | | Create a separate repository for PDFUtil | 8 | | Create a separate repository for file.util | 8 | | Add updated util code(excel.js with latest features) | 8 | | Get rid of caleido keyword from the repo (code, filename etc) | 8 | | Copy latest features from "facility-manager" (Azure) | 8 | | Update README file | 8 | | Add different test cases skeleton/sample for these util methods | 16 | | Total | 88| ### Clone boilerplate from caleido azure repository. #### Description * Clone the node-boilerplate from this AZURE and change the remote url to `git@gitlab.com:osm-nodejs/node-boilerplate.git` in the git config file so that all the commits will go inside the gitlab's node-boilerplate. ### Migrate from node 10 to node 12 #### Description * Make sure Node 12 is installed and is current version. * Make sure that application is working on node 12 version * Verify that components are running fine, if issues are found update code as per the need. ### Add latest query helper code #### Problem * As of now in node-boilerplate query helper code is not updated. #### Description * we've included helper functions to make creating certain queries quicker and easier. * For example in caleido we used addComplexWhere, addPagination methods in queryHelper to reduce the code duplication. * Need to update the query helper code in the node-boilerplate. * Get the commits from the azure and directly update the code and change the code if needed. ### Create a separate repository for ENV #### Description * Create a separate repository for the ENV. * All the env related methods present in the env repository and those are being imported into the node-boilerplate by installing the env repository as a module. ### Create a separate repository for logger #### Description * Create a separate repository for the logger. * All the logger related methods present in the logger repository and those are being imported into the node-boilerplate by installing the logger repository as a module. ### Create a separate repository for excel #### Description * Create a separate repository for the excel. * All the excel related methods present in the excel repository and those are being imported into the node-boilerplate by installing the excel repository as a module. ### Create a separate repository for PDFUtil #### Description * Create a separate repository for the PDFUtil. * All the PDFUtil related methods present in the PDFUtil repository and those are being imported into the node-boilerplate by installing the PDFUtil repository as a module. ### Create a separate repository for file.util #### Description * Create a separate repository for the util file. * All the util file related methods present in the util file repository and those are being imported into the node-boilerplate by installing the util file repository as a module. ### Add updated util code(excel.js with latest features) #### Problem * As of now excel repository didn't contain the latest code. #### Description * Need to update the excel code in the excel repository. * Get the latest code from the faciliti-manager repository from the AZURE and update the excel code. ### Get rid of caleido keyword from the repo (code, filename etc) #### Description * we should not use the client project related keywords in our repository like caledio, facilti. * Make sure to remove everywhere which are related to caleido from the node-boilerplate repository. ### Copy latest features from "facility-manager" (Azure) #### Description * Add the latest features to the node-boilerplate * Some of the features are missing in the node-boilerplate so we need to copy the latest features from the facility-manager and then paste them in the node-boilerplate. Make sure everything is working fine after changing the code with latest features. ### Update README file #### Description * Update the readme as per the latest changes in the node-boilerplate repository ### Add different test cases skeleton/sample for these util methods #### Description * Need to write some test cases for the methods which are present in the util folder and make sure that all the test cases should pass. **Note:** As of now we are considering it as low priority task.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully