A simple blogging platform built on NextJs, GraphQL and MongoDB
- Next JS
- mongoDB
- Apollo/Graphql
- JSON Web Tokens utilizing access and refresh tokens
First, open the file .env-sample and add the fields
BRAND_NAME=
BRAND_TAG=
MONGO_URI=
SECRET=
ACCESS_TOKEN_SECRET=
REFRESH_TOKEN_SECRET=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
CLOUDINARY_URL=
once all the fields are entered, rename this file to
mv .env-sample .env
First here start the server
npm run dev
# or
yarn dev