Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alceil/apppwrite-blogapp-with-nextjs
https://github.com/alceil/apppwrite-blogapp-with-nextjs
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alceil/apppwrite-blogapp-with-nextjs
- Owner: alceil
- Created: 2021-10-26T16:49:26.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T13:18:20.000Z (about 3 years ago)
- Last Synced: 2024-08-02T07:24:01.096Z (4 months ago)
- Language: JavaScript
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-appwrite - Source Code
README
# 🔖 Blog App using NextJs And Appwrite
![logo](https://user-images.githubusercontent.com/47685349/138933572-fd0d2da5-71d7-4648-8c88-063bdac6e5b9.png)
## Screenshot
![screenshotsignup](https://user-images.githubusercontent.com/47685349/138934188-b0962c42-9946-4366-bce3-3fc0dd5646f2.png)
![screenshotlogin](https://user-images.githubusercontent.com/47685349/138934359-b9b07137-2b33-4b15-a032-6e1c413eac34.png)
![screenshothome](https://user-images.githubusercontent.com/47685349/138934552-2640037f-cc77-4445-971c-5f8466ec8e31.png)
## 🎬 Getting Started!### 🤘 Install Appwrite
Follow our simple [Installation Guide](https://appwrite.io/docs/installation) to get Appwrite up and running in no time. You can either deploy Appwrite on your local machine or, on any cloud provider of your choice.
> Note: If you setup Appwrite on your local machine, you will need to create a public IP so that your hosted frontend can access it.
1. Add a new Web App in Appwrite and enter the endpoint of your website (`localhost, .vercel.app etc`)
2. Create a new collection with the following properties
* **Rules**
Add the following rules to the collection.
> Make sure that your key exactly matches the key in the images
* **Permissions**
Add the following permissions to your collections. These permissions ensure that only registered users can access the collection.
### 🚀 Deploy the Front End
You have two options to deploy the front-end and we will cover both of them here. In either case, you will need to fill in these environment variables that help your frontend connect to Appwrite.* REACT_APP_ENDPOINT - Your Appwrite endpoint
* REACT_APP_PROJECT - Your Appwrite project ID
* REACT_APP_COLLECTION_ID - Your Appwrite collection ID### **Run locally**
Follow these instructions to run the demo app locally
```sh
$ git clone https://github.com/alceil/apppwrite-blogapp-with-nextjs
$ cd apppwrite-blogapp-with-nextjs
```Now fill your environment variables
![image](https://user-images.githubusercontent.com/47685349/138935258-1f4ea81a-5955-4fdb-bf89-3de09a3c438a.png)
Now run the following commands and you should be good to go 💪🏼
```
$ npm install
$ npm run dev
```## Thanks
Glad to see here! Show some love by [starring](https://github.com/alceil/apppwrite-blogapp-with-nextjs) this repository.