GithubHelp home page GithubHelp logo

allegiance-be's Introduction

Allegiance API

standard-readme compliant

An Express + Node.js API for Allegiance

Table of Contents

Background

People want to support their favorite teams, talk about sports, and interact with other fans yet conversations are siloed across different channels. It's difficult to find fans and build connections both in person and online. Standard social networks lack features built for the needs of sports fans. We aim to build an app that will allow sports fans to connect with each other through groups and local engagement with other fans that are located nearby.

Deploy

This project is deployed using Heroku. Please find Heroku documentation here.

Getting Started

Before running the server locally, it is recommended that the user reads the documentation embedded within this readme about the database and the api resources.

  • Clone this repository
  • npm install to install all required dependencies (note PostgreSQL must be setup for all actions from this point on)
  • npx knex migrate:latest to create tables in the development environment
  • npx knex seed:run to populate the database with seed data
  • npm run server to start the server locally

The technologies selected (Express, Knex, Node) were chosen for the vibrant documentation, large base of developer users, and established package ecosystems present for each of the techs.

Database and Data Model

See link to diagram of the database model here. This project uses PostgreSQL in both development and production environments. Find documentation for PostgreSQL here. Note that the user will need to setup environment variables as required by Knex and PostgreSQL.

Sample variables:
DB_LOCAL=allegiance
DB_LOCAL_USER=postgres
DB_LOCAL_PASSWORD=password

DB_TEST=test
DB_TEST_USER=postgres
DB_TEST_PASSWORD=password

API

Authentication

Allegiance uses Auth0 for its authentication and API call processes. Please find Auth0 documentation here, along with the step by step tutorial used in this project here.

Resources

All endpoints have been documented using Postman. The latest version can be found here.


Maintainers

Labs 17

Luis Martinez Sean Doyle Connor Claxton Zachary Lasky Brandon Gasing Dong
@luiscmartinez @sdoylelambda @czclaxton @ZacharyLasky @gasingdong

Labs 15

Jarred Stanford Derek Schwantner Adam McKenney Ang Xu Dan O'Neill
@JarredStanford @DerekSchwantner @DaftBeowulf @AngXuDev @danpatrickoneill

License

MIT © 2019 Allegiance

allegiance-be's People

Contributors

daftbeowulf avatar danpatrickoneill avatar dschwan21 avatar luiscmartinez avatar gasingdong avatar angxudev avatar czclaxton avatar vanman9599 avatar sdoylelambda avatar jarredstanford avatar zacharylasky avatar angelprats avatar dependabot[bot] avatar berniedurfee avatar jay-wood 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.