GitXplorerGitXplorer
A

redwood-with-sanity-example

public
1 stars
1 forks
1 issues

Commits

List of commits on branch master.
Verified
ee7c106bf3675291709ecc65879ad60ae182c3f7

Merge pull request #2 from AryanJ-NYC/update-readme

AAryanJ-NYC committed 5 years ago
Unverified
6aa5692de956a176e9df819848d4ab397e8ea9ec

Update README

AAryanJ-NYC committed 5 years ago
Unverified
d8ce5da4922528bea63aeeeee86f6e1292b28ff0

Remove Prisma in netlify.toml

AAryanJ-NYC committed 5 years ago
Unverified
4740d3d2347c79a7d5bea4b333f9184252a6b660

Display title and image in MovieCell

AAryanJ-NYC committed 5 years ago
Unverified
3b965f05b508e10e18348793c1e11e7d4794c189

Go to MovieDetailPage on movie poster click

AAryanJ-NYC committed 5 years ago
Unverified
1b19af4c572ec7c89759b4dce3598f1ba39c4758

Render out movie posters in MoviesCell

AAryanJ-NYC committed 5 years ago

README

The README file for this repository.

Redwood and Sanity: Movie App

Getting Started

Setup

We use Yarn as our package manager. To get the dependencies installed, just do this in the root directory:

yarn install

Fire it up

  1. Install Sanity CLI
yarn global add @sanity/cli
  1. Create a Sanity account then log into Sanity
sanity login
  1. Create a Sanity movie project
sanity init --template moviedb
  1. Use Sanity sample movie dataset
sanity dataset import https://public.sanity.io/moviesdb-2018-03-06.tar.gz
  1. Create a .env file in the root.

  2. Add SENTRY_PROJECT_ID (found in /sanity.json) to .env. Your .env should look like:

SENTRY_PROJECT_ID=nfbwci30
  1. Start your Sentry dev server.
sanity start
  1. Start your Redwood dev server.
yarn redwood dev

Your browser should open automatically to http://localhost:8910 to see the web app. Lambda functions run on http://localhost:8911 and are also proxied to http://localhost:8910/api/functions/*.