Table of Contents
This is a graphcms blog , that uses api interface for authentication with next js , it has no database however the users are stored on the graphql api graphcms.
Use the BLANK_README.md
to get started.
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
-
Get the free API Key's at GRAPHCMS: https://graphcms.com/docs, GOOGLE: https://cloud.google.com/secret-manager/docs/accessing-the-api NEXTAUTH: https://next-auth.js.org/configuration/options
-
Clone the repo
git clone https://github.com/omarashzeinhom/GraphCMS-and-ReactJS-Gaming-blog-
-
Install NPM packages
npm install
-
Enter your API in
.env
NEXT_PUBLIC_GRAPHCMS_ENDPOINT = 'ENTER YOUR API' GRAPHCMS_TOKEN ='ENTER YOUR API' GRAPHCMS_ENDPOINT='ENTER YOUR API' GOOGLE_SECRET='ENTER YOUR API' GOOGLE_ID='ENTER YOUR API'
-
Enter your NEXTAUTH_URL in
.env
NEXTAUTH_URL = 'ENTER YOUR URL /localhost:3000 '/* You change the port to your preference*/ NEXTAUTH_URL_INTERNAL='http://10.240.8.16'
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
For more examples, please refer to the Documentation
- Add Changelog
- Add back to top links
- Add Additional Templates w/ Examples
- Add "components" document to easily copy & paste sections of the readme
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
My Personal Portofolio: https://omarabdelrahman.netlify.app/