Skip to content

Nottommy11/Nettie_API_Test

Repository files navigation

Nettie API Test

This is a test of the Nettie API.

Heroku hosting: https://nettie-test-api-deploy.herokuapp.com/

Installs & Commands

  • [YouTube Tutorial]["https://youtu.be/u2Df5A4BS8s"]

  • [Heroku CLI]["https://devcenter.heroku.com/articles/heroku-cli"]

  • npm init -y - creates package.json

  • npm install express --save - installs express and saves it to package.json

  • npm install nodemon --save-dev - installs nodemon and saves it to package.json

  • Add "start": "nodemon index.js" to package.json

  • Add "engines": { "node": "<YOUR_CURRENT_VERSION>" } to package.json (node --version to check)

  • heroku login - logs into Heroku

  • Create a Procfile with web: node index.js

  • git init - initializes git

  • git add . - adds all files to git

  • git commit -m "Initial commit" - commits all files to git

  • heroku create <YOUR_NAME_ALL_LOWERCASE?> - creates a Heroku app

  • git push heroku master - pushes to Heroku

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages