Skip to content

Final project output for CCAPDEV: a working website using web development tools and deployed via Heroku

Notifications You must be signed in to change notification settings

enricosebastian/catsallian-website

Repository files navigation

CCAPDEV machine project

Welcome to group 56's repository. Our project is to create an Instagram-esque website that's DLSU PUSA-themed—aptly named "catsallian"!

alt text

Hw to run things (on local machine)

  1. Run cmd on this project's main directory
  2. Enter the command npm install
  3. Wait to install all of the website's dependencies
  4. Run npm audit fix if asked
  5. Enter the command node server.js
  6. Go to localhost:3000 via your browser
  7. Done! Enjoy the website!

How to run things (via Heroku with me)

  1. Simply go to catsallian.herokuapp.com when the server is on and enjoy :)

note: website has been deactivated as of 2021

How to run things (via Heroku manually)

  1. Make sure the website's properties are properly setup before deployment

  2. Set up Heroku's config vars via Settings tab, Make sure that the Config Vars are:

    MONGODB_URI : mongodb+srv://admin:[email protected]/catsallian-database?retryWrites=true&w=majority

    NODE_ENV : Production

    TZ : Asia/Singapore

alt text

  1. Fork the project via https://github.com/DLSU-CCAPDEV/2021T2-G56
  2. At the deploy tab, connect to your Github account and connect to said forked reppo

alt text

  1. Press Deploy branch and wait for the setup to finish.

alt text

  1. Enter catsallian.herokuapp.com and enjoy the the site!

Test accounts you can use!

Because the website comes with pre-loaded content, you can even access a few accounts. Feel free to check them out!

email password
[email protected] alexpassword
[email protected] bettypassword
[email protected] carlapassword
[email protected] dannypassword
[email protected] enricopassword
[email protected] frankpassword

You can also create your own account, which will generate a default profile picture for you until you have it changed via the settings!

Project dependencies

  • bcryptjs: for encrypting your password and making sure your security is in tip-top shape
  • body-parser
  • dotenv
  • ejs: javascript + html = happiness and also lots of bugs
  • express
  • express-session: makes sure you stay logged in!
  • multer
  • nodemon: for debugging purposes
  • async, express-fileupload, and googleapis: used for asynchrnous activities like uploading large images. yup, the images are all stored on the cloud!

About

Final project output for CCAPDEV: a working website using web development tools and deployed via Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published