Quick Start
هذا المحتوى غير متوفر بلغتك بعد.
Quick Start
Section titled “Quick Start”Full backend running in five minutes. Postgres, GraphQL, Auth, and Nginx — on your machine or any server.
1. Install
Section titled “1. Install”macOS:
brew install nself-org/nself/nselfLinux / WSL:
curl -sSL https://install.nself.org | bashAfter install, verify:
nself version2. Initialize
Section titled “2. Initialize”nself init myappThe wizard asks four questions. Accept the defaults for local dev.
| Prompt | Default |
|---|---|
| Project name | myapp |
| Base domain | localhost |
| Services to enable | Postgres, Hasura, Auth, Nginx |
| Postgres password | Auto-generated |
Skip all prompts: nself init myapp --fast
3. Build
Section titled “3. Build”nself buildGenerates docker-compose.yml, Nginx config, and SSL certs. Takes a few seconds.
4. Start
Section titled “4. Start”nself startBoots in dependency order. Each service prints its status:
✓ postgres healthy (2s)✓ hasura healthy (8s)✓ auth healthy (5s)✓ nginx healthy (1s)5. Check your URLs
Section titled “5. Check your URLs”nself urlsService URL─────────────────────────────────────────Hasura https://hasura.localhostAuth https://auth.localhostGraphQL API https://api.localhost/v1/graphqlOpen the Hasura console and run a query to confirm the API is live:
query { __typename }6. Stop
Section titled “6. Stop”nself stopShuts down cleanly. Docker volumes keep your data.
Next: First Project · Add plugins · Configuration