Project 2 - Full Stack Web Application
Medic Manager is an interactive system for storage expiry tracking and replacement schedules featuring email reminders and a chatbot.
- Node Js
- Express Js
- Restful API
- Handlebars Js
- MySQL + Sequelize
- Get and Post Routes
- NPM packages
- Emailer
- Chatbot
- MVC (Model View Controller) paradigm
- Authentication
- Heroku deployment
clone [email protected]:bernardjbs/Project-2.git
How to move to a new branch for new work (do before adding adding new info to staging area once the repo is clones/pulled)
git checkout -b branch_name
git pull (any changes)
git add -A (new work on your computer)
git commit (Description of work)
git push -u [your branch name]
Credentials
Head to file .env
Input credentials
Dependencies
Install dependencies
npm i
Database
Change directory to /db
mysql -u root password
Create Database
SOURCE schema.sql
Seed
Seed database from command line (not mysql)
npm run seed
Begin Application
Use nodemon
npm run watch
OR
Start application
npm start
Config ->
Server connection
Controllers ->
Requests & database querying
DB ->
Establish database
Models ->
Hold model(database table info)
Public ->
Hold information that will be utilized on the front end
Seeds ->
Hold information that will be imported into models (the tables that are created) for testing or initial establishment of information.
Utils ->
Utilized by the view to handle login requests, or data manipulation
Views ->
Handlebars templating folder
- Dave Plummer (https://github.com/origin-42)
- Bernard Sin Fat (https://github.com/bernardjbs)
- Mon Levey (https://github.com/monlevey)
- Chi Doan (https://github.com/hergemony)
Any questions please email [email protected] (N.B this is a fictional email until official email is created)
©️2022 MEDIC MANAGER®️