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

https://github.com/do-community/jamstack-blog-nextjs


https://github.com/do-community/jamstack-blog-nextjs

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Jamstack Blog - Next.js Frontend

This is a demo app that demonstrates a fullstack app on [App Platform](https://www.digitalocean.com/products/app-platform/).

- **Backend** w/ [Strapi](https://strapi.io) - A Node framework for building APIs
- **Frontend** w/ [Next.js](https://nextjs.org) - A React framework for building frontend sites

## Instructions

1. Deploy the [Strapi app](https://github.com/do-community/jamstack-blog-strapi)
1. Deploy this [Next.js app](https://github.com/do-community/jamstack-blog-nextjs)
1. Connect the 2 apps via environment variables in the Next.js app: `NEXT_PUBLIC_API_URL`

## Requirements

A MongoDB Database through DigitalOcean.

1. Login to your [DigitalOcean dashboard](https://cloud.digitalocean.com/databases)
2. Create a MongoDB database

## Deploy

[![Deploy to DO](https://mp-assets1.sfo2.digitaloceanspaces.com/deploy-to-do/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/do-community/jamstack-blog-nextjs/tree/master)