🐄
Full stack node with Next.js frontend & KeystoneJs backend over GraphQL.
- User Accounts register & login
- Create / delete posts
- Create / delete comments
- Document upload
- Install the latest Node.js, MongoDB and Yarn.
- Inside
api/
copy.env.example
, rename it.env
and customize. - Run
yarn
to install dependencies. - Run
yarn dev
to start dev servers. - Visit
localhost:3000
for frontend.localhost:3001/keystone
for backend.
Frontend - localhost:3000
Keystone Backend - localhost:3001/keystone
Example user - [email protected]
Example password - password
Command | Purpose |
---|---|
yarn install |
Installs dependencies in api/ & client/ dirs |
yarn dev |
api/ & client/ built and run for dev. |
yarn build |
Builds api/ & client/ for production |
yarn start |
Starts api/ & client/ from built bundles |