What the platform includes
The Grorapid Platform setup in this docs hub includes:- a frontend portal at
http://localhost:3000 - a backend API at
http://localhost:8989 - supporting self-hosted services that typically run through Docker, such as the application container, queues, scheduling, Redis, and the database layer
8989.
Before you start
Make sure you have:git- Docker and Docker Compose
- Nginx and Certbot if you also plan to expose the app through a reverse proxy later
Prepare your environment
Clone the project and create your environment file:- local app URL keys such as
APP_URLandPLATFORM_URL DB_HOST,DB_PORT,DB_DATABASE,DB_USERNAME,DB_PASSWORDMAIL_HOST,MAIL_PORT,MAIL_USERNAME,MAIL_PASSWORD,MAIL_ENCRYPTION
Helpers/Constants.php before you run the platform setup.
Install and run with Docker
Build and start the containers:Verify the installation
After the containers start, check these URLs:- local frontend portal:
http://localhost:3000 - local backend API:
http://localhost:8989
http://localhost:8989. The portal on http://localhost:3000 is a separate frontend surface, not the preferred local API entrypoint for this docs set.
You can also verify the backend is reachable with a direct request:
Reverse proxy
If you later want to expose the backend API and frontend portal on a server, configure them as separate Nginx sites:api.your-domain.comshould proxy to127.0.0.1:8989app.your-domain.comshould proxy to127.0.0.1:3000
Backend API host: api.your-domain.com
Create /etc/nginx/sites-available/api.your-domain.com with a backend proxy like this:
Frontend portal host: app.your-domain.com
Create /etc/nginx/sites-available/app.your-domain.com with a frontend proxy like this:
Minimum system requirements
- Minimum:
2vCPUs,4 GBmemory, and15 GBof disk storage - Recommended: scale CPU and memory based on workload, queue usage, and concurrent users
Troubleshooting
- Make sure
.envincludes working database and mail credentials before you runapp-setup. - If you use external Redis or queue infrastructure, configure those values in
.envbefore deployment. - Ensure
storageandbootstrap/cacheare writable by the application user. - If Nginx sits in front of the platform, confirm the backend host still proxies to
8989and the portal host still proxies to3000.
