Random Notes Server
About
Demo server on Parse platform with Android client.
Configuration
Parse Server using variables from the OS environment. By default, all variables loaded from .env
by dotenv
in server.js
.
Variables
Variable | Description |
---|---|
SERVER_URL |
Server URL (combined with ADDRESS and PORT by default) |
PORT |
Server port |
APP_ID |
Application Id |
MASTER_KEY |
Master key |
CLIENT_KEY |
Client key |
DATABASE_URL |
Server DB URL |
APP_NAME |
Applicaiton name |
DATABASE_URL |
Database URL |
ADMIN_USER |
Parse Server Dashboard admin name |
ADMIN_PASSWORD |
Parse Server Dashboard admin password |
COMPOSE_PROJECT_NAME |
Docker Compose project name |
SITE_URL |
Docker Compose site URL |
MONGO_INITDB_DATABASE |
Docker Compose MongoDB initial database |
Database entities
Note
Column | Type | Description |
---|---|---|
objectId |
String | Default Parse column |
createdAt |
Date | Default Parse column |
updatedAt |
Date | Default Parse column |
ACL |
ACL | Default Parse column |
title |
String | Note title |
subtitle |
String | Note subtitle |
Nodemailer
Email Server using variables from the OS environment. By default, all variables loaded from .env
by dotenv
in server.js
.
Variables
Variable | Description |
---|---|
EMAIL_SEVER_HOST |
Email Server host |
EMAIL_SEVER_PORT |
Email Server port |
EMAIL_SEVER_SECURE |
Email Server secure status |
EMAIL_SEVER_USER |
Email Server user |
EMAIL_SEVER_PASSWORD |
Email Server password |
Run
Before start Parse Server run MongoDB from Docker:
$ docker-compose up
And then run Parse Server:
$ npm start
How to contribute
Read Commit Convention. Make sure your build is green before you contribute your pull request. Then:
$ npm test
If you don't see any error messages, submit your pull request.
Contributors
- @fartem as Artem Fomchenkov