Giter VIP home page Giter VIP logo

sports-portfolio's People

Contributors

bauff avatar dfay7 avatar imnoahcook avatar synchronizing avatar timothyfhinds avatar zsaadioui avatar

Watchers

 avatar  avatar  avatar  avatar

sports-portfolio's Issues

Establish the Express.js API routes for the application.

We need documentation for an API so back-end can begin writing routes and front-end will know what routes to hit.

At a high level our API should handle

  • Retrieving a card from DB and store in client's memory
  • Adding a card form client's memory to a user's cart in DB
  • Retrieving a user's cart from DB
  • Removing a card from a user's cart and updating DB
  • Sending user's cart to our email service

This should easily follow CRUD, if there's anything you think is missing post a comment.

NOTE: Something that might be of interest is using swagger which is already built into our project because of the mean.io boilerplate.
---> SEE ./server/config/swagger.json and edit that.

Recommended resources
API Design suggestions
Sample Swagger.json and preview editor

Setup accounts for the deployment services.

Someone please create a shareable Gmail account for this project, and register to the following with it:

Please share its info as a reply to this, and share it on Slack. Once the Heroku account is set-up, make sure to test our boilerplate:

  1. Pull the repo, and try hosting on Heroku on their free plan.
  2. Sync the Heroku repo with the master branch on GitHub so it's always updated.
  3. Document the URL and credentials Heroku provides and share in Slack and below.

Add schemas to the project.

As of now, I believe the way we have the schemas set-up on our slides is probably fine, however I do not believe we would need the Cart schema. We could utilize Order with the confirmed column as a mean to keep track of whether or not it has been purchased, and therefore a substitute for Cart. Thoughts?

customerID fullName email hashedPassword createdAt roles
0 Rick Strattum [email protected] md5_pass 2019-03-11 [admin, user]
cardID bought playerName team Description sport images createdAt
0 False Allen Iverson Philadelphia 76ers Collector’s Edge Rookie Rage - Die Cuts Basketball [http://, http://] 2019-03-11
1 False David Ortiz Boston Red Sox #110 of 300, 2004, Bazooka Baseball [http://, http://] 2019-03-11
orderID customerID cardIDs price confirmed createdAt
0 0 [0, 1] $543 False 2019-03-11

Fix connection to mongodb

We have been unable to connect to our mongodb online. I have been the only one who has connected. If we can find what has been causing this issue and address it that would rock. I will start troubleshooting today. cheers ya'll

Create mongoose controllers

Create mongoose controllers for the card and orders. Adding a branch th/mongocontrollers and keeping my code stored there.

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.