Coder Social home page Coder Social logo

members's Introduction

Members

Just a simple learning management system for textbook-like sites, powering Real Python.

Build Status Coverage Status bitHound Overall Score Code Climate dependencies Status devDependencies Status

  1. Staging Server

Getting Started

  1. Fork/Clone
  2. Install dependencies
  3. Rename .env-sample to .env and then update
  4. Create the development and test Postgres DBs:
  • createdb members
  • createdb members_test
  1. Run development migrations:
  • knex migrate:latest --env development
  1. Run seed:
  • knex seed:run --env development
  1. Run server
  • gulp

Commands

  1. Run dev server: gulp
  2. Run tests: gulp test
  3. Run tests with coverage: gulp coverage
  4. Create build: gulp build

Run gulp help to list all available commands

Notes

https://github.com/jbutko/ExpressJS-Socket.IO-AngularJS-Boilerplate

  1. Make sure to drop the database before running the seed!
  2. Updates (development and testing only):
  • admin status: curl -X PUT -d admin=true http://localhost:3000/users/<USERNAME>/admin
  • active status: curl -X PUT -d active=true http://localhost:3000/users/<USERNAME>/active
  1. Make sure to update the fixtures (/test/fixtures/data.js) whenever the DB schema is updated
  2. User auth flow -> unregistered -> unverified -> active

Development Notes

  1. Tasks
  2. User stories

members's People

Contributors

mjhea0 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.