Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codingchili/onegram-server
Image sharing platform server in NodeJS
https://github.com/codingchili/onegram-server
android docker-image mongodb nodejs rest-api
Last synced: 26 days ago
JSON representation
Image sharing platform server in NodeJS
- Host: GitHub
- URL: https://github.com/codingchili/onegram-server
- Owner: codingchili
- License: mit
- Created: 2015-08-25T19:14:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-20T14:37:01.000Z (over 5 years ago)
- Last Synced: 2024-10-27T18:48:30.912Z (3 months ago)
- Topics: android, docker-image, mongodb, nodejs, rest-api
- Language: JavaScript
- Homepage:
- Size: 851 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Onegram NodeJS Server
NodeJS / Express Server for the Onegram image sharing application. [YouTube demo](https://www.youtube.com/watch?v=86SiHCIcKv0)
# Features
- authentication
- image repository
- persistent storage with MongoDB# Running the server
Make sure to install NodeJS and MongoDB.```console
# 1. start mongodb with
mongod --dbpath "/path/to/db"# 2. add keypair to certificate/
openssl req -newkey rsa:2048 -nodes -keyout certificates/server.key -x509 -days 365 -out certificates/server.crt# 3. configure smtp service in bin/mail.js
# 4. start the servernode ./bin/www
```# Configuration
- registation email in bin/mail.js
- website in /views and /public# Running tests
Requires a running server and configured SMTP.```console
mocha test --exit
```If tests fails due to gmail authentication please check the following
1. login to the mailer account
2. open this link and click the button https://accounts.google.com/DisplayUnlockCaptcha
3. make sure to enable access for "less secure applications" on the google account under security.# Available clients
- [Android](https://github.com/codingchili/onegram-android)