Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adzialocha/splitter-orchester
Website of Splitter Orchester Berlin
https://github.com/adzialocha/splitter-orchester
nextjs react sanity typescript
Last synced: 8 days ago
JSON representation
Website of Splitter Orchester Berlin
- Host: GitHub
- URL: https://github.com/adzialocha/splitter-orchester
- Owner: adzialocha
- Created: 2021-06-08T16:47:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T12:00:51.000Z (almost 3 years ago)
- Last Synced: 2024-04-15T04:26:45.863Z (7 months ago)
- Topics: nextjs, react, sanity, typescript
- Language: TypeScript
- Homepage: https://splitter.berlin
- Size: 5.26 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
splitter-orchester
===Website of the [Splitter Orchester](https://splitter.berlin) from Berlin built with React, Next.js, TailwindCSS, TypeScript and Sanity Studio Headless CMS.
## Requirements
* NodeJS 14 or higher
* yarn
* Sanity Account for Headless CMS
* Vercel Account for deployment (recommended)## Development
```bash
# Install dependencies
yarn# Run development servers concurrently. Open localhost:3000 for website,
# localhost:3333 for Sanity CMS backend
yarn start# Check linter errors
yarn lint# Helper script to generate TypeScript definitions from Sanity schema
yarn sanity:types
```## Deployment
### Vercel
1. Run `yarn vercel` to initialize and deploy the project, you can alternatively do this through the Vercel web dashboard.
2. After setup you can run the following (optional) commands for deployment:```bash
# Deploy page on Vercel (optional)
yarn vercel
yarn vercel:production
```### Static page hosting
Build and export all files which can be directly used for any static page hosting (without Vercel):
```bash
# Build Next.js and Sanity project
yarn build# Exports static files to `out` folder (required step)
yarn next:export
```