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.
bcrypt, connect-mongo, dotenv, ejs, express, express-flash, express-session, mongodb, mongoose, morgan, nodemon, passport, passport-local, validator
npm install
- Create an
.env
file in the folder calledconfig
- 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) - Open up the terminal, then type
npm install
in the terminal - Next, type
node server.js
in the terminal, to run the server - Enter
localhost:2222
into the browser, then hit enter
User Creation
:
- To create a user, simply click
sign up
, from the nav in the top right corner. - Fill out the form.
- Hit submit at the bottom of the form.
To access test admin:
- Request login credentials via email: calvinbensonjr@gmail.com