GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - starters-dev/parse-server: 🗜 Minimal setup for Parse Platform (Server & Dashboard) with a choice of three DB configs: PostgreSQL (Postgis), MongoDB or Percona Server MongoDB. Within Docker Compose. Behind Traefik proxy.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
server
server
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build-up.sh
build-up.sh
 
 
docker-compose.yml
docker-compose.yml
 
 
example.env
example.env
 
 
restart.sh
restart.sh
 
 

Repository files navigation

🗜 Parse Server Starter

This starter is a minimal setup of Parse Platform (Server & Dashboard) with a choice of three DB configs: PostgreSQL (Postgis), MongoDB or Percona Server MongoDB. All services are run within Docker Compose. Traefik is chosen as a reverse proxy server for its simplicity and great perfomance.

Deployment

Local

  1. > git clone https://github.com/kanzitelli/parse-server-starter.git
  2. > cd parse-server-starter
  3. > mv example.env .env
  4. > sh build-up.sh
  5. Open http://localhost:6969/dashboard and enter credentials from .env (default: admin for username and 12345 for password).

Production

Coming soon...

Read it before use it

Tutorial on Medium

Cloud functions

Parse Platform gives us an ability to write and host Cloud Functions on the same server with api and dashboard. You can define new functions in server/cloud/main.js. More information can be found here.

In order to have up-to-date running Cloud Functions (when you add a new one and don't want to rebuild whole Docker image), you just need to restart parse-server container. You can do it by running > sh restart.sh. Or just using Docker extension in VSCode or Docker Desktop app.

Cloud Functions update flow:

  1. Open server/cloud/main.js and add simple hello1 function:
Parse.Cloud.define('hello1', async req => {
  return 'hello1';
});
  1. Open terminal and run > sh restart.sh
  2. Check new function > curl -X POST -H "X-Parse-Application-Id: APP_ID" -H "Content-Type: application/json" http://localhost:6969/parse/functions/hello1

Todos

  • Production deployment tutorial (w/ https and DO DNS challenge)
  • TypeScript support
  • More options of env variables for Parse configuration
  • Article with more detailed tutorial.
  • Local deployment
  • Percona Server Mongodb support
  • Postgis (Postgres) support
  • Mongodb support (tested on a real project)

About

🗜 Minimal setup for Parse Platform (Server & Dashboard) with a choice of three DB configs: PostgreSQL (Postgis), MongoDB or Percona Server MongoDB. Within Docker Compose. Behind Traefik proxy.

Topics

dockermongodbparse-platformparse-serverpostgispostgresqltraefik

Resources

Readme
Activity
Custom properties

Stars

10 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.