Skip to content

Simple list to keep track of currently airing series, you/me/anyone is watching

Notifications You must be signed in to change notification settings

johnathan-codes/cwaas

Repository files navigation

Shows list

App created with MERN stack.

Demo

Master branch is ready to be deployed to heroku app.

Prerequisites

How to deploy - Step-by-step

If you came accross some error create an issue :)

MongoDB

Firstly you need a Mongo database.

I would suggest creating a cluster at mongodb.com since I am also using this service.

After creating account and/or cluster click on connect then click on Connect Your Application and select Node.js as driver (version 3.0 or later).

Then copy the Connection String Only. This will be your value for DB key on Heroku app -explained below.

For example Key: DB Value: mongodb+srv://<user>:<password>@cluster0.mongodb.net/<nameofdatabase>?ssl=true&authSource=admin

If you are asked to type in a name of collection during creation of database, type in whatever you want.

Heroku

Open terminal

  • heroku login - login to your heroku account
  • heroku create - this will create an app of some sort on your heroku acc.

Go to your appname, then settings. Click on Reveal Config Vars and add following keys:

  • DB: Value is your mongodb connections string, which you got above Value should look like this mongodb+srv://<user>:<password>@cluster0.mongodb.net/<nameofdatabase>?ssl=true&authSource=admin
  • JWT: Value "sl_myJwtSecret"

This should be all. If anything occurs create an issue.

Deployment

In terminal type these commands (in order shown below)

  • git clone this repo

  • cd into the cloned repo

  • heroku git:remote <name of the created heroku app>

  • git push heroku master - push into the heroku repo

This will build an app on your acc.

While in your heroku app dashboard click on Open app.

Done! Now go! Prepare your list of TV shows you are currently watching 😊

No-register

If you want noone else editing your stuff, there was a noregister branch in which there is no registration option, but I removed it. So if you do not want registration just check these two commits: Removed Registration and Fixed noregister

About

Simple list to keep track of currently airing series, you/me/anyone is watching

Resources

Stars

Watchers

Forks

Packages

No packages published