Following the quickstart, go thru the CLI and set up the project.
➜ mkdir rel-playground
➜ cd rel-playground
➜ rel-playground npm init --y
Wrote to /Users/danielstarns/code/rel-playground/package.json:
{
"name": "rel-playground",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
➜ rel-playground npx rel-cmd@latest init
Need to install the following packages:
rel-cmd@latest
Ok to proceed? (y) y
___ _
| _ \___| |
| / -_) |
|_|_\___|_| Installer
Rel is the zero-config backend framework for Javascripters.
? What's the name of your project? api
✔ Rel packages installed
? Base directory for Rel project? .
Success! Created reljs at directory /Users/danielstarns/code/rel-playground/api
Next steps:
1. Run rel dev and visit https://localhost:4000
2. Edit ./schema.graphql to update your schema.
3. Read more documentation at https://rel.run/docs
The following files are generated:
➜ rel-playground ls
api package.json
➜ rel-playground ls api
node_modules package.json schema.graphql
package-lock.json rel.config.json
➜ rel-playground
Then when I run rel dev I get an error stating:
zsh: command not found: rel
Following the quickstart, go thru the CLI and set up the project.
The following files are generated:
Then when I run
rel devI get an error stating: