GithubHelp home page GithubHelp logo

fernandedios / node-learning-marketplace Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.08 MB

Express E-learning marketplace application

License: MIT License

JavaScript 40.97% CSS 1.34% HTML 57.70%
nodejs mongodb express wistia mailchimp facebook stripe

node-learning-marketplace's Introduction

node-learning-marketplace

NodeJs Express, Wistia, Stripe, Mailchimp, Facebook Authentication

A e-learning marketplace built with NodeJs Express

Getting Started

Checkout this repo, install dependencies, configure, then start the app.

$ git clone [email protected]:fernandedios/node-learning-marketplace.git
$ cd node-learning-marketplace
$ npm install

-- configure app

$ npm start

Configuration

This web application requires the following as starting point:

Local Development Variables

module.exports = {
  database: 'mongodb://your_mongodb_url',
  port: process.env.PORT || 3000,
  secretKey: 'you_session_key',
  mailchimpKey: 'your_mailchimp_api_key',
  stripeSecretKey: 'your_stripe_secret_key',
  facebook: {
    clientID: 'your_facebook_client_id',
    clientSecret: 'your_facebook_secret_key',
    profileFields: ['emails', 'displayName'],
    callbackURL: 'http://localhost:3000/auth/facebook/callback',
    passReqToCallback: true // enable passing of req object to callbacks
  }
};

Save as 'dev.js' and place it inside the config folder.

Production Environment Variables

You will need to add the following environment variables to your production host

MONGO_URL,
SECRET_KEY,
MAILCHIMP_KEY,
STRIPE_SECRETKEY,
FB_CLIENTID,
FB_CLIENTSECRET,
CALLBACK_URL,

Preview

Access the application preview.

Thanks

node-learning-marketplace* © 2018, Fernan de Dios. Released under the MIT License.

fernandedios.com  ·  GitHub @fernandedios  ·  Twitter @fernan_de_dios

node-learning-marketplace's People

Contributors

fernandedios avatar

Stargazers

 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.