Skip to content

CorsCode/CorsCodeRoutingCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CorsCode Dynamic API Command-line Interface

That sounds like a mouthful, but this tool is extremely useful for creating simple APIs that utilize token authentication.

Requirements:

  • NPM
  • Node
  • MongoDB database WITH link
  • ABLE TO FOLLOW PROMPTS

Usage:

  • Install:
npm install -g corscode-dynamic-api
  • Run in folder of new project:
corscode-init
  • Follow steps, wait for script to finish, and enjoy a pre-built API!

Update Log

  • v0.1.0
    • Initial release
  • v0.1.1
    • Fixed minor bug that prevented dependencies from installing properly
  • v0.2.0
    • Interface updated for easier use
  • v1.0.0
    • Updated the entire router to utilize Promises
    • Removed previous authentication due to faults
    • Now utilizing token authentication
    • Enhanced useability
    • Cleaner code, more user friendly
  • v1.0.1
    • Fixed some minor restrictive bugs in crudFunctions
    • Added comparePassword method to authentication model
    • Re-organized middleware setup
  • v1.1.0
    • Removed model creation from CLI
    • Added updater to routing system that replaces above removed
  • v1.1.1
    • Fixed basic load error in crudFunctions (removed populate)
  • v1.2.0
    • Fixed updater to prompt user for additional information
  • v1.2.1
    • Changed main field for each model to be required instead of prefixed
  • v1.2.2
    • Fixed main field assigner in updater
    • Changed crudFunctions accordingly to send main field in request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published