1.0.6 • Published 4 months ago

skola77-api v1.0.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

Installation Instructions

  1. Install the package:

    npm install
  2. Run PostgreSQL server: Ensure you have PostgreSQL installed. Start the PostgreSQL server with the following credentials:

    • Server name: postgres
    • User: postgres
    • Password: postgres

    You can start the server using the following command:

    pg_ctl -D /usr/local/var/postgres start

    Or, if you are using a different setup, ensure the server is running with the specified credentials.

Usage Instructions

Below is an example of how to use the package with an Express server:

const createServer = require("skola77-api");

const app = createServer({
  port: 5051,
  corsOrigin: "http://localhost:3000",
  noStart: true, 
});

app.listen(5051, () => console.log("Custom server running on port 5051"));

Feel free to adjust the configuration options to suit your needs.

abbrevacceptsagent-baseansi-escapesansi-regexansi-stylesanymatchappend-fieldaprobaare-we-there-yetargparsearray-flattenasapaws-ssl-profilesbabel-jestbabel-plugin-istanbulbabel-plugin-jest-hoistbabel-preset-current-node-syntaxbabel-preset-jestbalanced-matchbcryptbinary-extensionsbody-parserbrace-expansionbracesbrowserslistbserbuffer-equal-constant-timebuffer-frombusboybytescall-bind-apply-helperscall-boundcallsitescamelcasecaniuse-litechalkchar-regexchokidarchownrci-infocjs-module-lexercliuicocollect-v8-coveragecolorcolor-convertcolor-namecolor-stringcolor-supportconcat-mapconcat-streamconnect-pg-simpleconsole-control-stringscontent-dispositioncontent-typeconvert-source-mapcookiecookie-signaturecore-util-iscorscreate-jestcross-spawndebugdedentdeepmergedelegatesdenquedepddestroydetect-libcdetect-newlinedezalgodiff-sequencesdotenvdottiedunder-protoecdsa-sig-formatteree-firstelectron-to-chromiumemitteryemoji-regexencodeurlerror-exes-define-propertyes-errorses-object-atomsescaladeescape-htmlescape-string-regexpesprimaetagexecaexitexpectexpressexpress-sessionfast-json-stable-stringifyfb-watchmanfill-rangefinalhandlerfind-upformidableforwardedfreshfs-minipassfs.realpathfseventsfunction-bindgaugegenerate-functiongensyncget-caller-fileget-intrinsicget-package-typeget-protoget-streamglobglob-parentgopdgraceful-fshas-flaghas-symbolshas-unicodehasownhexoidhtml-escaperhttp-errorshttps-proxy-agenthuman-signalsiconv-liteignore-by-defaultimport-localimurmurhashinflectioninflightinheritsipaddr.jsis-arrayishis-binary-pathis-core-moduleis-extglobis-fullwidth-code-pointis-generator-fnis-globis-numberis-propertyis-streamisarrayisexeistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsjestjest-changed-filesjest-circusjest-clijest-configjest-diffjest-docblockjest-eachjest-environment-nodejest-get-typejest-haste-mapjest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-regex-utiljest-resolvejest-resolve-dependenciesjest-runnerjest-runtimejest-snapshotjest-utiljest-validatejest-watcherjest-workerjs-tokensjs-yamljsescjson-parse-even-better-errorsjson5jsonwebtokenjwajwskleurlevenlines-and-columnslocate-pathlodashlodash.includeslodash.isbooleanlodash.isintegerlodash.isnumberlodash.isplainobjectlodash.isstringlodash.oncelonglru-cachelru.minmake-dirmakeerrormath-intrinsicsmedia-typermerge-descriptorsmerge-streammethodsmicromatchmimemime-dbmime-typesmimic-fnminimatchminimistminipassminizlibmkdirpmomentmoment-timezonemsmultermysql2named-placeholdersnatural-comparenegotiatornode-addon-apinode-fetchnode-int64node-releasesnodemonnoptnormalize-pathnpm-run-pathnpmlogobject-assignobject-inspecton-finishedon-headersonceonetimep-limitp-locatep-tryparse-jsonparseurlpathpath-existspath-is-absolutepath-keypath-parsepath-to-regexppgpg-cloudflarepg-connection-stringpg-hstorepg-int8pg-poolpg-protocolpg-typespgpasspicocolorspicomatchpiratespkg-dirpostgres-arraypostgres-byteapostgres-datepostgres-intervalpretty-formatprocessprocess-nextick-argspromptsproxy-addrpstree.remypure-randqsrandom-bytesrange-parserraw-bodyreact-isreadable-streamreaddirprequire-directoryresolveresolve-cwdresolve-fromresolve.exportsretry-as-promisedrimrafroutersafe-buffersafer-buffersemversendseq-queuesequelizesequelize-poolserve-staticset-blockingsetprototypeofsharpshebang-commandshebang-regexside-channelside-channel-listside-channel-mapside-channel-weakmapsignal-exitsimple-swizzlesimple-update-notifiersisteransislashsource-mapsource-map-supportsplit2sprintf-jssqlstringstack-utilsstatusesstreamsearchstring_decoderstring-lengthstring-widthstrip-ansistrip-bomstrip-final-newlinestrip-json-commentssupports-colorsupports-preserve-symlinks-flagtartest-excludetmplto-regex-rangetoidentifiertoposort-classtouchtr46type-detecttype-festtype-istypedarrayuid-safeundefsafeunderscoreundici-typesunpipeupdate-browserslist-dbutilutil-deprecateutils-mergeuuidv8-to-istanbulvalidatorvarywalkerwebidl-conversionswhatwg-urlwhichwide-alignwkxwrap-ansiwrappywrite-file-atomicxtendy18nyallistyargsyargs-parseryocto-queue
1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago