This is the go API written for the Nutrition Habit Challenge.
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.
REST API for Nutrition Habit Challenge.
License: GNU General Public License v2.0
We need an input filter solution to ensure the site is child-safe.
We need to be able to update certain user data. Best to say what we can't update:
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.
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.
Improve the logging in the app. Consider using logrus: https://github.com/Sirupsen/logrus
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.
Handle registration of new participants and return participant data.
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
Get GMAIL account for NHC and use that for smtp.
User Status: unknown, unconfirmed, unregistered, registered
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.
Return data on a user such as auth status, name, e-mail, etc.
I don't want the code to stay in the database, so figure that out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.