Code Monkey home page Code Monkey logo

nhc-api's Introduction

NHC API

This is the go API written for the Nutrition Habit Challenge.

Running Locally

make local

This will spin up the API in a docker container, linked to a mongo database. Once docker-compose is done, browse to localhost:8080 to access the API.

nhc-api's People

Contributors

bonds0097 avatar mwzup avatar znswanger avatar

Stargazers

 avatar

Watchers

 avatar  avatar

nhc-api's Issues

Create PUT API Endpoint for Users

We need to be able to update certain user data. Best to say what we can't update:

  • role (actually, we should be able to update this if user requesting is a global_super_admin)
  • status
  • id
    *

Require Users to Choose Existing Organization

Currently, users can submit their own org, and if it doesn't exist we create it in the system. For this year, we want to force users to submit existing orgs only. So we need to validate that the org they submit is an existing one and not create new orgs via registration.

Google Sign Up Duplication Error

Signing up with a duplicate e-mail is causing a 500 error, which is not what we want. Make it return a proper 409 conflict error.

Add Referral Field To Registration

When users register, they should be able to submit where they heard about NHC from so this needs to be a new field in the users struct and stored in mongo.

Re-Word Reg Confirmation Email

Congratulations! You are now registered for the Nutrition Habit Challenge 2016. Your participation benefits both you and our community.

We’ll be sending you an email as we get closer to the event. In the meantime, check out the Resource Page for great information and insights to help you be successful with the Challenge.

Sincerely,
The NHC Team

Fix Mass Mailing

We need a new mass mailing function that handles multiple bcced recipients so that we're not opening thousands of sockets to the mail server. Oops.

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.