Skip to content

Ignews is a blog with paid content via subscription. This is a project to Rocketseat's bootcamp. (Read the README file)

Notifications You must be signed in to change notification settings

gabrielgyns/ignews

Repository files navigation



Ignews is a blog with paid content via subscription. This is a project to Rocketseat's bootcamp.
This project uses NextJS, Next-auth (Github), React, Typescript, SASS, FaunaDB, Prismic CMS and more.

About the project

This project is a blog made in NextJS and React, where we can post paid content. For login is used Next-Auth with Github, we can manage the subscriptions on Stripe, the content is created on Prismic CMS the data is storage on FaunaDB and for styling, we're using Sass.

On source code, you can find the services folder, there we manage all apis (stripe, fauna and prismic) to connect all the services we use.

Environment Variables

To correctly run this project, you will need to set the Environment Variables on a file on the project's root named .env.local with the following:

# Stripe
STRIPE_API_KEY=<your-information>
NEXT_PUBLIC_STRIPE_PUBLIC_KEY=<your-information>
STRIPE_WEBHOOK_SECRET=<your-information>
STRIPE_SUCCESS_URL=http://localhost:3000/posts
STRIPE_CANCEL_URL=http://localhost:3000/

# Github
GITHUB_ID=<your-information>
GITHUB_SECRET=<your-information>

# FaunaDB
FAUNA_KEY=<your-information>

# Prismic CMS
PRISMIC_ENDPOINT=<your-information>
PRISMIC_ACCESS_TOKEN=<your-information>

About

Ignews is a blog with paid content via subscription. This is a project to Rocketseat's bootcamp. (Read the README file)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published