Comments (8)
works good now. thanks for all the help!
from nextjs-starter.
@BhaskaranR can you tell me how you created the key? You should first create a database in Fauna, then go to Security Tab, and create a key there. After that, you can run yarn setup-db
. Please let me know if you face any more problems.
from nextjs-starter.
I don't have fauna dashboard local setup. the link mentioned is not available. i created the db in the docker shell.
fauna add-endpoint http://localhost:8443/ --alias localhost --key secret
fauna create-database development_db --endpoint=localhost
fauna create-key development_db --endpoint=localhost
then i copied this key to .env
FAUNADB_SECRET=secret
FAUNA_ADMIN_KEY=fnAEG4FkPgACAPuBn62LO07rjVDjj25_BtRsk2o0
from nextjs-starter.
@BhaskaranR I just updated the README with instructions to use Fauna Dev docker container.
Check it out at https://github.com/pbteja1998/nextjs-starter#how-to-run-fauna-locally
TL;DR;
When you are using Fauna Docker container and running it locally, your FAUNADB_SECRET AND FAUNA_ADMIN_KEY, both are same and equal to secret
from nextjs-starter.
it still asks me for the admin key
from nextjs-starter.
Are you running yarn setup-docker-db
or yarn setup-db
?
from nextjs-starter.
Also, can you please download the latest version of the template? I made a few changes today. You seem to be using the old version.
from nextjs-starter.
Awesome. Very glad to hear.
from nextjs-starter.
Related Issues (11)
- Firebase passwordless Auth saved in localstorage
- Why React Query? HOT 1
- FQL + NextJS serializing JSON errors HOT 2
- Docker file HOT 1
- Missing License HOT 2
- In post its Postgres but in Github its Faunadb. HOT 1
- GET_USER_BY_EMAIL SyntaxError: Unexpected token < in JSON at position 0 HOT 15
- Error while installing dependencies HOT 1
- How to setup login? - It gets stuck on loading HOT 10
- Try signing with a different account. After login with Github.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-starter.