Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kaziridwan/nextlifty-netlify-starter


https://github.com/kaziridwan/nextlifty-netlify-starter

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# README
This is a static CMS written in nextjs and netlify-cms, using netlify's git-gateway.
The goals of this project are:
1. To create a zero-fee CMS template
2. To be based off of completely opensource solutions, and no vendor lock-in
3. TO use netlify's git-gateway and media upload functionality for easy media uploads

In future we are to create our own media upload library using git-gateway and nextjs's
serverless functions

# Quickstart
1. Deploy to netlify

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/kaziridwan/nextlifty-netlify-starter)

2. Configure netlify-cms config

goto `public/admin/config.yml`
```
backend:
name: git-gateway
repo: OWNER/YOUR_GITHUB_REPO
base_url: https://example.com/

```
3. Setup netlify identity and enable git-gateway
4. Add github as [OAuth Provider](https://github.com/settings/developers)

[Troubleshoot nextjs on netlify here](https://www.netlify.com/blog/2020/11/30/how-to-deploy-next.js-sites-to-netlify/) and authentication [here](https://www.netlifycms.org/docs/add-to-your-site/#authentication)

---

# Where are we right now and what are the implications?
## No fee
We have been able to achieve a complete zero-fee system, with two lock-ins
1. netlify identity
2. github lock-in

## Completion of basic principles
1. remove dependancy on oauth
1. use vercel
1. https://github.com/robinpokorny/netlify-cms-now
2. remove github lock-in
1. store it in gitlab
1. you loose codespaces for private repos
1. add in docker

## Roadmap
- create a nextjs static site

- on github
- move over to vercel
- deploy on vercel
- add netlify-cms
- add pages and collections
- home
- navigation
- links[]
- heroImage
- heroCTA
- heroText
- Sections
- footer
- col[]
- title
- links[]
- about
- herosection
- heroImage
- contact
- herosection
- heroImage
- blog[]

- add github oauth to vercel
- https://github.com/robinpokorny/netlify-cms-now
- add docker, docker-compose and scripts
- make a dockedrepo
- make it a monorepo
- move to gitlab
- add tinacms