Skip to content

ryanalencar/ignews

Repository files navigation

ignews

Welcome to ignews 👋

Version Documentation Maintenance

Content subscription platform

Demo

About the project

It aims at studying and developing an application for listing posts and subscriptions in ReactJS with NextJS.

Using the NextJS framework, I built the application around concepts such as API consumption, API Root, Server Side Rendering, Static Site Generation, STRIPE for subscription payments, NextAuth for authentication with Github, FaunaDB for storing information, and Prismic CMS for adding and managing content to posts.

Technologies

  • ReactJs
  • NextJs
  • Typescript
  • SASS
  • Next-Auth
  • Stripe
  • FaunaDB
  • Prismic CMS

Install

# Install the dependencies
yarn

Usage

# In the root of the project create a copy of the .env.local.example file
# Change the name of the copy to .env.local
# Fill in the environment variables according to the instructions
cp .env.local.example .env.local

# Run stripe listen to listen for webhook events
stripe listen --forward-to localhost:3000/api/webhooks 

# Start the application
yarn dev

Run tests

yarn test

Author

👤 Ryan Alencar

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!