This recipe provides a starting point for building an Express application with EdgeDB as the database.
✨ Check out the @edgedb/create
package for more information.
$ npm create @edgedb
# or
yarn create @edgedb
# or
pnpm create @edgedb
# or
bun create @edgedb
After running the command, you will be prompted to provide a project name and choose the "Express" template. You can also specify whether to use EdgeDB Auth, initialize a git repository, and install dependencies.
The tool will then create a new directory with the specified name and set up the project.
Install dependencies in the root directory:
$ yarn
Navigate into packages/create
:
$ cd packages/create
Build @edgedb/create
$ yarn build
Run a local version:
$ yarn run create
Then choose the "Express" template.