github-catalog
github-catalog copied to clipboard
A website made up of categorized github repositories and user oauth system, where users can manage their own categories and items.
github-catalog
fsnd - a website made up of categorized github repositories and user oauth system, where users can manage their own categories and items.
Setup
- setup vagrant -
vagrant up --provision - ssh vagrant -
vagrant ssh - enter workdir -
cd /vagrant/catalog - export secrets -
source export_secrets.sh - create db -
python database_setup.py - inject data -
python database_inject.py - start server -
python catalog.py - browse -
http://localhost:5000
Usage
- Users can login(indirect signup) via GitHub OAuth2.
- Logged in users can new category(name,description) and item(name,url,highlight).
- Category owner can edit or delete his category and item in it.
- Item owner can edit or delete his item.
- Get json data through API endpoints.
- Flashing message will shine after actions login/logout/new/edit/delete.