GithubHelp home page GithubHelp logo

leevilehtonen / stockfolio-server Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 43 KB

Node web app for managing your stock portfolio (server)

License: MIT License

JavaScript 100.00%
nodejs mongodb rest api server expressjs babel es6 stockfolio-server stock-portfolio

stockfolio-server's Introduction

Build Status Dependency Status License: MIT

Node web app for managing your stock portfolio (server)

  • Live demo - Live demo username: tester, password: 123456
  • API - REST API docs, information abouts server routes (in progress)
  • Hours - Working hours at Google Sheets

NOTE: As Yahoo updated their finance API to v10, there is currently some issues retrieving the data, Stockfolio is depending on yahoo-finance as data provider and people are working to get the module functional.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

  • Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • MongoDB - MongoDB is an open-source, document database designed for ease of development and scaling.

Installing

A step by step series of examples that tell you have to get a development env running

git clone https://github.com/leevilehtonen/stockfolio-server.git //or with ssh
cd stockfolio-server
npm install
npm run server // runs project using nodemon for easy development
npm start // creates production build and runs it

Running the tests

npm install
npm test

Deployment

For building production ready server:

npm install
npm run build 

For building and running production ready server:

npm install
npm start 

If you want to deliver your own copy of stockfolio, it's very easy to serve at Heroku

Built With

Dependencies

  • babel-cli: Babel command line.
  • babel-preset-env: A Babel preset for each environment.
  • babel-register: babel require hook
  • bcryptjs: Optimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'.
  • bluebird: Full featured Promises/A+ implementation with exceptionally good performance
  • body-parser: Node.js body parsing middleware
  • cookie-parser: cookie parsing with signatures
  • cors: Node.js CORS middleware
  • csurf: CSRF token middleware
  • express: Fast, unopinionated, minimalist web framework
  • helmet: help secure Express/Connect apps with various HTTP headers
  • jsonwebtoken: JSON Web Token implementation (symmetric and asymmetric)
  • mongoose: Mongoose MongoDB ODM
  • mongoose-unique-validator: mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema.
  • passport: Simple, unobtrusive authentication for Node.js.
  • passport-jwt: Passport authentication strategy using JSON Web Tokens
  • request: Simplified HTTP request client.
  • request-promise: The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.
  • yahoo-finance: Yahoo Finance historical quotes and snapshot data downloader written in Node.js

Dev Dependencies

  • mocha: simple, flexible, fun test framework
  • nodemon: Simple monitor script for use during development of a node.js app.
  • should: test framework agnostic BDD-style assertions
  • supertest: SuperAgent driven library for testing HTTP servers

Contributing

Make merge ready PR or contact me with feature suggestions.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

stockfolio-server's People

Contributors

leevilehtonen avatar

Stargazers

 avatar  avatar

Watchers

 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.