pupy-python / mentorship-app Goto Github PK
View Code? Open in Web Editor NEWPuPPy Mentorship Application
License: MIT License
PuPPy Mentorship Application
License: MIT License
When a Mentee signs up on our platform, let's capture these additional data points:
Implementation: Mentee Profile Class
References Mentee:Signup Issue
As a Mentee, I want to be able to view a public profile page of any Mentor.
As an Approved Mentor, I want to be able to view a public profile page of any Mentee.
Acceptance Criteria
As a mentor, I want to be able to request a pairing with a mentee.
As a mentee, I want to be able to request a pairing with a mentor.
As the requestor, I would like to be able to enter a "Request Message" so I have a chance to briefly introduce myself and why I would like to pair with the requestee.
Acceptance Criteria
Currently, in order to rollback a deployment, it must be done through the Heroku dashboard or CLI. It would be best to be able to rollback deployments from the repository or a more commonly available CI/CD pipeline.
Explore possibility of using existing Travis CI pipeline to perform both deploys and rollbacks.
Acceptance Criteria:
Do this thing
Stop using Ted's personal Travis Acct
As a mentor, I want to be able to view a list of unpaired mentees so that I can request to pair with them.
As a mentor, I can only request to pair with a mentee if I am "Available".
Acceptance Criteria
When signing up as a Mentor, we should also capture this additional information:
Implementation: Mentor Profile Class
References: Mentor:Signup Issue
*note: When a Mentor account is created, their status should be set to "pending"
Write 2 endpoints which will return lists of user objects.
/mentees returns list of unpaired mentees
/mentors returns a list of available (currently accepting mentees, approved, have not hit limit of pairings) mentors
Recent route rename merge has broken the Javascript application - it will no longer load.
Acceptance Criteria
Need to relieve the bottleneck for GH notifications of deployment failures going to 1 account.
Possible solution:
Heroku builds in Travis-CI?
Heroku notifies GitHub - perhaps there is a way to get a GitHub notification.
Acceptance Criteria:
Developers are notified of
We need to create a 1:1 implementation of our API routes
After hooking up the frontend to the /user 'POST' endpoint, I'm noticing that both mentee and mentor profiles are required. If the json doesn't include a mentee key or mentor key, the server sends back a 500. If you send both those keys with values as empty dictionaries, the server sends back a 400, and mentions that the 'goals' field is required for mentees and 'mentee_capacity' is required for mentors.
We should update this endpoint to check for mentee/mentor keys and make the appropriate objects based on that.
Page should include
Create API endpoint for pairing endpoint. Create CRUD operations.
Open Questions:
Acceptance Criteria
[ ] "mentor" and "mentee" fields return user model id
As a User with an existing account, I would like to be able to login and out.
The purpose of this ticket is to create login/logout capabilities between React and Django Rest Framework.
Acceptance Criteria
/login
/logout
There's a PuPPy-Python team also. Don't know if it matters. Sai Nudurupati has been putting Scientific Computing Sig presentations on PuPPy-Python.
User Model should include:
Base user profile can be implemented here
Base user profile referenced in Mentee:Signup and Mentorship:Signup
As potential Mentor without an account, I want to be apply to be a mentor, create a profile, and provide information about my area of expertise and how many mentees I wish to mentor.
As a Mentee with a profile, I want to be able to apply to be a Mentor without having to re-enter all of my user and profile information, but I want the option to edit my profile information.
This ticket covers the sign up process for a Mentor. When a Mentor without any account applies, they will have to create their profile from scratch and provide information about their area of expertise and how many mentees they wish to mentor. If a Mentee with an account wants to apply to be a Mentor, they should not have to fill out their User and Profile information again but should have the option to edit it, and instead just fill out their area of expertise and capacity.
Acceptance Criteria
Failed deploy, bug report below:
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/init.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 199, in handle
collected = self.collect()
File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 115, in collect
for path, storage in finder.list(self.ignore_patterns):
File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/staticfiles/finders.py", line 112, in list
for path in utils.get_files(storage, ignore_patterns):
File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/staticfiles/utils.py", line 28, in get_files
directories, files = storage.listdir(location)
File "/app/.heroku/python/lib/python3.6/site-packages/django/core/files/storage.py", line 397, in listdir
for entry in os.listdir(path):
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/build_adc5060b8459f19bbec11b07b9532566/build/static'
! Error while running '$ python manage.py collectstatic --noinput'.
See traceback above for details.
You may need to update application code to resolve this error.
Or, you can disable collectstatic for this application:
$ heroku config:set DISABLE_COLLECTSTATIC=1
https://devcenter.heroku.com/articles/django-assets
! Push rejected, failed to compile Python app.
! Push failed
Create a Dockerfile
and docker-compose.yml
file that will aide in development.
This may also aide with deployment: #33
We need mock ups for iteration of design and reference for developers.
Refer to list of views here.
Mock ups should demonstrate responsiveness.
Design principles for this project:
Create Mentee React component that handles that displays and handles registration.
Parent Issue: Menee: Signup
Need a style guide for developers to reference as views are built. Styles can be added to it as they are defined, but we need a source-controlled location for it within the project repository or documentation.
Style Guide Should Define:
Edit the Profile model class and add the following new fields:
Consider
Resources
https://devcenter.heroku.com/articles/container-registry-and-runtime
As a Mentor or Mentee, I want to be able to view all of my profile information on a private page. I want to be able to edit all of the information on this page.
Acceptance Criteria
Remove package-lock.json
Use yarn install
for installation of packages
As a mentee, I want to be able to see a list of AVAILABLE mentors so that I can request to pair with one.
As a mentee, I should only be able to request a pairing if I am currently NOT paired with a mentor.
Acceptance Criteria
http://www.writethedocs.org/guide/writing/beginners-guide-to-docs/
Ideas for Topics
In order to adopt a more modern architecture to enable better long-term scalability, the front end should be a SPA built with React. The application should:
This ticket is complete when a test "Hello World"-esque React view is deployed via CI/CD and accessible on the internet.
Create endpoint for all user information. Should allow all CRUD operations.
As potential mentee without an account, I want to be able to sign up as a mentee, create a profile, and provide information about my interests and goals.
As a Mentor with a profile, I want to be able to sign up as as Mentee without having to re-enter all of my profile information, but I want the option to edit my profile information.
This ticket covers the sign up process for a Mentee. When a Mentee without any account signs up, they will have to create their profile from scratch and provide information about their goals and interests. If a Mentor with an account wants to sign up as a Mentee, they should not have to fill out their Profile information again but should have the option to edit it, and instead just fill out their goals and interests.
Open Questions
Acceptance Criteria
Add the ENV variable
REACT_APP_API_URL
and the value to https://puppy-mentors.herokuapp.com/api/v1
Acceptance criteria:
Jest tests are run by Travis-CI.
Add to the profile model a single select field named 'years_industry_experience' with choices:
Class: Model Profile
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.