About β’ Tech Stack β’ Author β’ Contribute β’ License
π Blog with subscription template
Before you begin, you will need to have the following tools installed on your machine:
Git. In addition, it is good to have an editor to work with the code like [VSCode] (https://code.visualstudio.com/)
# Clone this repository
$ git clone https://github.com/NiltonIzaguirres/ig-news.git
# Access the project folder in your terminal
$ cd ig-news
# Create a file called .env.local with the settings below:
# Stripe config
NEXT_PUBLIC_STRIPE_PUBLIC_KEY=
STRIPE_API_KEY=
STRIPE_WEBHOOK_SECRET=
STRIPE_SUCCESS_URL=
STRIPE_CANCEL_URL=
# Github config
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# FaunaDB config
FAUNADB_KEY=
# Prismic config
PRISMIC_ENDPOINT=
PRISMIC_ACCESS_TOKEN=
# Install the dependencies
$ npm install
# Run the application in development mode
$ npm run dev
# The application will open on the port: 3000 - go to http://localhost:3000
The following tools were used in the construction of the project:
Website (NextJS + TypeScript)
See the file package.json
- Fork the project.
- Create a new branch with your changes:
git checkout -b my-feature
- Save your changes and create a commit message telling you what you did:
git commit -m" feature: My new feature "
- Submit your changes:
git push origin my-feature
Nilton Izaguirres
This project is under the license MIT.