Ghostbustr is an app where you view haunted locales. As a user you view haunted locales, can add haunted locales, edit and delete the haunted locales you have added, view other user's visits, add your visits, and edit and delete your visits.
Installation
- Fork and Clone this Repo (API) and The Client
- Install the necessary dependencies for this repo by copying the code below (or see dependencies to install individually):
npm i bcryptjs cors dotenv express jsonwebtoken method-override mongodb mongoose passport passport-http-bearer
- run
npm seed
to seed the database with tags fromseed.js
- Follow the instructions on the Ghostbustr Client Repo to install the client
- run
npm start
for this repo to start the API (runs onlocalhost:3000
) - run
npm start
for the Client and go tolocalhost:8000
in your browser to view
Dependencies
- Bcrypt
npm i bcrypt
- Cors
npm i cors
- Dotenv
npm i dotenv
- Express
npm i express
- Jsonwebtoken
npm i jsonwebtoken
- Method-Override
npm i method-override
- Mongodb
npm i mongodb
- Mongoose
npm i mongoose
- Passport
npm i passport
- Passport-Http-Bearer
npm i passport-http-bearer
- See Ghostbustr Client for details