Giter VIP home page Giter VIP logo

influencer's Introduction

influencer

test project for Influencer Index

About

This project uses Feathers. An open source web framework for building modern real-time applications.

Getting Started

please run all steps ordinary.

  1. Make sure you have NodeJS and npm installed.

  2. Install your dependencies

    cd path/to/influencer
    npm install
    // or yarn
    
  3. configure database string (mysql key) from path/to/influencer/config/default.json

  4. Start your app for first time (this is required for building sql schemas before migration or seeding)

    npm run dev
    // or yarn dev
    
  5. run database migrations

     npm run sequelize db:migrate
    // or yarn sequelize db:migrate
    

    migration revert is possible anytime:

     npm run sequelize db:migrate:undo
    // or yarn sequelize db:migrate:undo
    
  6. Stop app and run seeder to seed database

    npm run seed
    // or yarn seed
    

    then run production environment with

    npm run start
    // or yarn start
    
  7. open localhost:3030 to see api home page.

  8. open /docs to work with swagger play ground.

cron job

required cron job is scheduled to 0 7 * * MON but it is possible to run it manually just for test case

Testing

Simply run npm test and all your tests in the test/ directory will be run.

Scaffolding

Feathers has a powerful command line interface. Here are a few things it can do:

$ npm install -g @feathersjs/cli          # Install Feathers CLI

$ feathers generate service               # Generate a new Service
$ feathers generate hook                  # Generate a new Hook
$ feathers help                           # Show all commands

Help

For more information on all the things you can do with Feathers visit docs.feathersjs.com.

influencer's People

Contributors

alidplus avatar

Watchers

James Cloos avatar  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.