This is the git repo for the backend of my personal site, hosted at jackmorrison.xyz
The API is hosted at api.jackmorrison.xyz
It handles the information retrieved for the live page, as well as other features, such as the recently accessed social media services on the home page.
The site is built using Node.JS, and is running on a Heroku dyno.
Sure! This website is completely open source. The only thing I ask is that you link to my sources page so that the sources I've used are credited, as well as myself!
-
Clone the repo
-
Install Node
-
Start developing
Start up the server locally at
http://localhost:8080by running:npm run develop
-
Fill in the
.env.development.examplefile, renaming it to.env.developmentThis file contains any environment variables which will be specific to your own APIs
-
Open the source code and start editing!
If you're running my site locally, then the API calls from the local Gatsby site will hit this instead of the server, so any changes can be seen in real time!
Or, use a program such as Postman to test!