Skip to content

calvinabensonjr/doPortal

Repository files navigation

Introduction

What exactly is the DoPortal app, and what motivated its creation? The inspiration behind the inception of this application stemmed from a compelling necessity within a non-profit organization dedicated to facilitating students' access to higher education: the imperative transition to a paperless operation. Picture an archive reminiscent of a cluttered closet, filled with decades-old files and documentation. Witnessing my colleagues and superiors expending an exorbitant amount of effort on paper-based tasks year-round left me with a profound unease. What if there existed a more efficient, digital alternative, liberating them from the burdensome chore of lugging physical documents? By implementing an MVC architecture complete with authentication features, I devised a comprehensive solution for this challenge. To access the live site, go to https://doportal.cyclic.app/. For local manipulation, jump to the run application instructions.


home page

Packages/Dependencies used

bcrypt, connect-mongo, dotenv, ejs, express, express-flash, express-session, mongodb, mongoose, morgan, nodemon, passport, passport-local, validator


Install all the dependencies or node packages used for development via Terminal

npm install


To run application

  1. Create an .env file in the folder called config
  2. Next, type the following in the .env file: On the first line type: PORT = 2222. On the second line type: DB_STRING = mongodb+srv://stutor:stutor@cluster0.scejxne.mongodb.net/?retryWrites=true&w=majority. (This is will connect you to the database)
  3. Open up the terminal, then type npm install in the terminal
  4. Next, type node server.js in the terminal, to run the server
  5. Enter localhost:2222 into the browser, then hit enter

User Creation:

  1. To create a user, simply click sign up, from the nav in the top right corner.
  2. Fill out the form.
  3. Hit submit at the bottom of the form.

To access test admin:

  1. Request login credentials via email: calvinbensonjr@gmail.com

Releases

No releases published

Packages

No packages published