Skip to content

jtiagosantos/ig.news

Repository files navigation

ig.news

GitHub language count Repository size GitHub last commit License Stargazers

🚧 ig.news ⚛️ Completed 🚀 🚧

FeaturesRun ProjectTechnologiesLayoutDeployAuthorLicense


ig.news

ig.news


⚙️ Features

  • Read posts
  • Sign In with Github OAuth
  • Subscription system
  • Payment with stripe

🚀 Run Project

1️⃣ Clone project and access its folder:

$ git clone https://github.com/jtiagosantos/ig.news.git
$ cd ig.news

2️⃣ Install dependencies:

$ yarn ou npm i

3️⃣ Add environment variables:

#Stripe
STRIPE_API_KEY= xxxxxxxxxxxxx
NEXT_PUBLIC_STRIPE_PUBLIC_KEY= xxxxxxxxxxxxx
STRIPE_PRICE_API_ID= xxxxxxxxxxxxx
STRIPE_WEBHOOK_SECRET= xxxxxxxxxxxxx
STRIPE_SUCCESS_URL= xxxxxxxxxxxxx
STRIPE_CANCEL_URL= xxxxxxxxxxxxx

#Github
GITHUB_CLIENT_ID= xxxxxxxxxxxxx
GITHUB_CLIENT_SECRET= xxxxxxxxxxxxx

#FaunaDB
FAUNADB_KEY= xxxxxxxxxxxxx

#Prismic CMS
PRISMIC_ENDPOINT= xxxxxxxxxxxxx
PRISMIC_ACCESS_TOKEN= xxxxxxxxxxxxx

4️⃣ Run tests:

$ yarn test ou npm run test

5️⃣ Start project:

$ yarn dev ou npm run dev

🛠 Technologies

The following tools were used in the construction of project:


🔖 Layout

You can view the project layout through the link below:


☁️ Deploy


👨‍💻 Author

Tiago Santos

Tiago Santos 🚀

Linkedin Badge Gmail Badge


📝 License

This project is under license MIT.