MLH-Fellowship / fellow-central

Earn points for yourself and your pod during the MLH Fellowship. Make your activities and participation count.
https://leagueoffellow.netlify.app/
MIT License
6 stars 1 forks source link

Implement create event endpoint #24

Closed luiszugasti closed 3 years ago

luiszugasti commented 3 years ago

Description

This is an open PR for fixing issue #14. Currently, the app server fails due to flask.cli.NoAppException and I have no clue why this is. I'm including it as a bug fix because os.environ was changed to os.getenv. << I'm actually not sure if thats correct anymore, but it looks like correct usage from here. Also, there are new requirements that were added from the previous PR: that were not captured in requirements.txt, so the have been added.

Fixes #14

Type of change

Please delete options that are not relevant.

Checklist:

Screenshots

gitpod-io[bot] commented 3 years ago

luiszugasti commented 3 years ago

Btw the Flask issue was resolved yesterday as discused, importing the FLASK_APP environment variable worked well.

luiszugasti commented 3 years ago

I am trying to test this in postman, but it appears to fail with SQL raising an error. Will follow up on it

welcome[bot] commented 3 years ago

Congrats on merging your first pull request here! :tada: How awesome!