26 lines
558 B
Markdown
26 lines
558 B
Markdown
# Minimal Express server to support a Gatsby website
|
|
|
|
Minimal server built with Express JS to serve as backend for a Gatsby website.
|
|
|
|
See details in [Gatsby backend on Express and NGINX with reverse proxy](https://www.rodrigoplp.com/blog/using-your-own-server-with-gatsby?utm_source=GitHub&utm_medium=blog_post&utm_campaign=server_repo).
|
|
|
|
## Installation
|
|
|
|
- Clone repository
|
|
|
|
```
|
|
git clone https://github.com/Rodrigoplp/minimal-gatsby-backend.git
|
|
```
|
|
|
|
- Install dependencies
|
|
|
|
```
|
|
cd minimal-gatsby-backend
|
|
npm install
|
|
```
|
|
|
|
- Initiate server
|
|
|
|
```
|
|
nodemon
|
|
```
|