⚠️ This project is archived as it was moved to frontendista.cz monorepo.⚠️
- node.js (lts) runtime
- pnpm package manager (not exclusive, but preferred)
By default app tries to run via host local.frontendista.cz
on port 80.
To make this work you need to modify hosts
file on your system.
Add line below to your hosts
file.
127.0.0.1 local.frontendista.cz
You can find location of your hosts file here.
Name | Value | Required |
---|---|---|
SANITY_GRAPHQL_ENDPOINT | https://<PROJECT_ID>.api.sanity.io/v1/graphql/<DATASET_ID>/default | ✅ |
SANITY_CLIENT_TOKEN | hidden | ✅ |
SANITY_PROJECT_ID | hidden | ✅ |
SANITY_DATASET_ID | development or production | ✅ |
NEXT_PUBLIC_DISCORD_CONTACT_WORKER_URL | hidden |
Name | Value | Description |
---|---|---|
ANALYZE | true | Run webpack bundle analyzer on build |
PRODUCTION_SOURCE_MAPS | true | Emit source maps on production build |
# Clone and change directory
git clone [email protected]:Thesoreon/frontendista.cz.git
cd frontendista.cz
# Install dependencies
pnpm install
# Run development server with HMR
pnpm dev
Name | Description |
---|---|
cms.frontendista.cz | Sanity.io based CMS |
api.frontendista.cz | Cloudflare workers |
- Install recommended extensions for VSCode (listed in
.vscode/extensions.json
)
Name | Description | URL |
---|---|---|
local | rapid development | local.frontendista.cz |
staging | production-like, testing purposes | staging.frontendista.cz |
production | production | frontendista.cz |