Application to subscribe in a React newsletter using JAM Stack concepts
About the project • Technologies • Necessary settings • Author
The goal of this project is to build a application where user is able to subscribe to a React newsletter and read the posts published by some administrator.
The application follows JAM Stack concepts, is was built over NextJS framework using some of their features like API routes, Server Side Rendering (SSR) and Static Site Generation (SSG). In this project we also have integrations with Stripe to user pay the subscription monthly, NextAuth using Github as provider where user is able to login, FaunaBD to save user data and Prismic CMS where some administrator can manage the posts content.
This project was built during module 03 of Ignite course from Rocketseat.
Follow below the technologies used in this project
Tools which should be installed:
Create and account and do the necessary settings in the following services:
# Execute command below to clone the project
$ git clone https://github.com/nelsonsantosaraujo/ignews.git
# Access repository folder
$ cd ignews
# Execute yarn to install the dependencies
$ yarn
# In root folder of the project, makes a copy of .env.example file
# Change the name to .env.local
# Add values to variables following the instructions
$ cp .env.local.example .env.local
# Execute stripe listen to listen events emitted by stripe
$ stripe listen --forward-to localhost:3000/api/webhooks
# Run the application
$ yarn dev
Made by Gabriel Deggau Schmidt 👋🏽