Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danjac/photoshare
Learning app for Go and React
https://github.com/danjac/photoshare
Last synced: 3 months ago
JSON representation
Learning app for Go and React
- Host: GitHub
- URL: https://github.com/danjac/photoshare
- Owner: danjac
- License: mit
- Archived: true
- Created: 2014-05-26T19:05:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-18T12:33:38.000Z (about 9 years ago)
- Last Synced: 2024-06-18T21:42:43.336Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 10.8 MB
- Stars: 172
- Watchers: 13
- Forks: 26
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Photoshare is a learning app for Go and ReactJS.
The final aim:
- User can create posts with photos.
- User can make posts private/public.
- Other users can comment on posts.
- User can switch comments on/off.
- Simple search.
- Email user when someone comments on their posts.
- RSS feeds on all posts.
- Admins can edit/delete all posts and enable/disable user accounts.
- Users can sign up/in with at least one oauth client (Google, Facebook, Twitter)
- Runs on PostgreSQL backend.
- Twitter Boostrap-based design (yawn, but I'm not a designer...)
- Fully tested (or as much as possible) in front and backend.
- We can host the whole thing on Heroku/S3.Of course not all of the above will happen at once, rather incremental steps.
Getting started
---------------You need Go (1.5), node.js/npm and PostgreSQL (9.1+).
- `make`
- Set the correct environment variables. See sample_env for a template.
- `npm install bower && bower install`
- `go get bitbucket.org/liamstask/goose/cmd/goose`
- Copy and db/db.yml.sample to db/db.yml and edit to point to the correct databases.
- `goose -env=development up`
- `./bin/serve`Tested on Chrome and Firefox 40+.
Loading image (img/image-loading.png) created using http://dummyimage.com/