With over 8 years of experience in the electronics/controls field I am excited to continue improving my skills within software development. Currently looking for a remote opportunity that would allow me to hone my skills!
-
🌱 I’m currently learning Frameworks,Languages and overall honing of my skills
-
💬 Ask me about React, Django, Javascript, HTML, CSS, MongoDB, Axios
-
📫 How to reach me jonschinella@gmail.com
-
📄 Know about my experiences https://1drv.ms/w/s!An35g0pykKpFgv9hGNdWnPXto0k3ow?e=XBaL0A
Fish Reporter
The intentions of the website is to give the user quick and easy access to a multitude of fishing information for any lake. The user will also have access to adding locations or posting fish he caught at a given location! With this we can all help each other to never get skunked again!
Follow the link below to find your next fishing spot!
https://fishfinder-b9950a38c220.herokuapp.com/Location
User
-As a user i want to be able to review different fishing areas to see which kind of fish and how well the fishing is doing in a certain lake or river.Full-Stack Developer
-As a full stack developer i want to see a MEN stack layout with all the Restful Routes and CRUD operations being used.Front-End Devekoper
-As a front end developer i want to see responsiveness and visual auesthetics on the webpage along with a natural flow of navigation.Navigation
This will display each page of this website. Follow the number and color coding for a detailed description of each section.Home
1A - The edit button will bring the user to the edit form for the current post selected
1B - The delete button will delete the current post from the location.
2A - Here you see the current post you have selected
Details
1A - The edit button will bring you to the form page for editing the current location
1B - The delete button will delete the location from the database
1C - The post review button will bring the user to the form page to add a post
2A - Displays all the details about the current item selected.
3A - Displays the all the current posts related to this location.
NOTE - This section will be moved below Section 2A when the screen is smaller than 900px.
4A - This is the layout of a general post. The most recent post will always be at the top of the list. Any post can be clicked on to edit or delete
Posts
1A - The edit button will bring you to the form page for editing the current location
1B - The delete button will delete the location from the database
1C - The post review button will bring the user to the form page to add a post
2A - Displays all the details about the current item selected.
Form
Please fill out all fields display on the location form. When done press the submit button and your new location will be added to the database Please fill out all fields display on the post form. When done press the submit button and your new post will be added to the locations detail page.Technologies Used
Express , Mongoose , livereload , connect-livereload, ejsInstallation Instructions
There is a couple of things to know before making changes to this project.First we will initialize and installed the according packages necessary. Inside your project terminal run the following commands to complete this.
npm init -y npm i express ejs mongoose dotenv livereload connect-livereload
After this is completed a mongoDB will be necessary to store data. This is done by created a .env file. Once created you will need to create a variable inside this file for your mongoDB connection. See the example listed below
MONGODBURI="mongodb+srv://YourUsername:YourPassword@cluster0.ruhgrt4.mongodb.net/YourCollection"
NOTICE!!!!! You will have to replace "YourUsername:YourPassword" and "YourCollection" with your personal mongoDB information
For further information please reference the index.js file located in the models folder. (Refer to lines 7-8)
Details
{
// Require the Mongoose package & your environment configuration
const mongoose = require('mongoose');
require('dotenv').config()
// Connect to MongoDB Atlas\
mongoose.connect(process.env.MONGODBURI);
const db = mongoose.connection
db.on('connected', function () {
console.log(Connected to MongoDB ${db.name} at ${db.host}:${db.port});
});
// Export models & seed data
module.exports = {
Location: require('./Locations'),
Posts: require('./posts'),
seedLocations: require('./seed')
}
}
Routes
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| / | N/A | Get | read | Redirects to the spash page displaying all items |
| /seed | N/A | Get | Create/Destroy | Will delete all items in database and re-initialize with local data |
| /Location | Index | Get | Read | Displays all the items (Uses querry filters to sift through database) |
| /Location/:id | Show | Get | Read | Displays the details of the selected item |
| /Locaiton/add | New | Get | Read | Displays the form to create a new location |
| /Location/:id | Create | Post | Create | Creates the new location in the database |
| /Location/edit/:id | Edit | Get | Read | Displays the form to edit a location |
| /Location/UpdateEdit/:id | Update | Get | Use | Updates the selected database location |
| /Location/delete/:id | Delete | Get | Destroy | Deletes the location from the database |
Location Route Table Details
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| / | N/A | Get | read | Redirects to the spash page displaying all items |
app.get('/', async function (req, res) {
res.redirect('/Location')
});\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /seed | N/A | Get | Create/Destroy | Will delete all items in database and re-initialize with local data |
app.get('/seed', async (req, res) => {
// Remove any existing items
const formerLocations = await db.Location.deleteMany({})
console.log(Removed ${formerLocations.deletedCount} items)
// Seed the items collection with the starter data
const newLocations = await db.Location.insertMany(db.seedLocations)
console.log(Added ${db.seedLocations.length} items to be sold)
//Redirect back to item gallery
res.redirect('/Location')
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Location | Index | Get | Read | Displays all the items (Uses querry filters to sift through database) |
router.get('/', async function (req, res)
{
// console.log(req.query)
let filterObj = req.query
for(let key in filterObj)
{
test=(filterObj[key])
if(test == '' || test == undefined)
{
delete filterObj[key]
}
if(key == 'Fish' && filterObj[key] != '' && filterObj[key] != undefined)
{
filterObj[key]=[filterObj[key]]
}
}
// console.log(filterObj)
const itemlist = await db.Location.find(filterObj)
res.render('home',{itemlist: itemlist})
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Location/:id | Show | Get | Read | Displays the details of the selected item |
router.get('/:id', async function (req, res) {/ let singleItem = await db.Location.find({_id: req.params.id})/ res.render('details',{singleItem: singleItem})/ })/
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Locaiton/add | New | Get | Read | Displays the form to create a new location |
router.get('/add', async function (req, res)/ {/ // console.log(req.query)/ res.render('Form')/ })/
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Location/:id | Create | Post | Create | Creates the new location in the database |
router.post('/add', (req, res) => {
console.log(req.body)
db.Location.create(req.body)
.then(() => res.redirect('/'))
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Location/edit/:id | Edit | Get | Read | Displays the form to edit a location |
router.get('/edit/:id', function (req, res) {
db.Location.find({_id: req.params.id})
.then
(
singleItem =>res.render('Edit',{singleItem: singleItem})
)
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Location/edit/:id | Edit | Get | Read | Displays the form to edit a location |
router.get('/Update/:id', async function (req, res) {
await db.Location.updateOne({_id: req.params.id},{ $inc: {Fish_Caught: +1}})
res.redirect(/Location/${req.params.id})
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Posts/:id | Show | Get | Read | Displays the details of the selected Post |
| /Posts/add | New | Get | Read | Displays the form to create a new post |
| /Posts/:id | Create | Post | Create | Creates the new posts linked to a location |
| /Posts/edit/:id | Edit | Get | Read | Displays the form to edit a post |
| /Posts/UpdateEdit/:id | Update | Get | Use | Updates the selected database location |
| /Posts/delete/:id | Delete | Get | Destroy | Deletes the post from a location |
Posts Route Table Details
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Posts/:id | Show | Get | Read | Displays the details of the selected Post |
router.get('/show/:id/:postid', function (req, res) {
db.Location.find({_id: req.params.id})
.then
( singleItem =>
{
for(let i = 0 ; i < singleItem[0].Posts.length ; i ++ )
{
if(singleItem[0].Posts[i].id==req.params.postid)
{
const postData = singleItem[0].Posts[i];
res.render('posts_details',{singlePost: postData,singleItem: singleItem[0]})
}
}
}
)
.catch(() => res.send('404 Error: Page Not Found'))
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Posts/add | New | Get | Read | Displays the form to create a new post |
router.get('/:id', function (req, res) {
db.Location.find({_id: req.params.id})
.then
(
singleItem =>res.render('posts_add',{reviewItem: singleItem})
)
.catch(() => res.send('404 Error: Page Not Found'))
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Posts/:id | Create | Post | Create | Creates the new posts linked to a location |
router.post('/:id', (req, res) => {
db.Location.findByIdAndUpdate(
req.params.id,
{ $push: { Posts: req.body } },
{ new: true }
)
.then
(
res.redirect(/Location/${req.params.id})
)
});\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Posts/edit/:id | Edit | Get | Read | Displays the form to edit a post |
router.get('/edit/:id/:postid', function (req, res) {
db.Location.find({_id: req.params.id})
.then
(
singleItem =>
{
for(let i = 0 ; i < singleItem[0].Posts.length ; i ++ )
{
if(singleItem[0].Posts[i].id==req.params.postid)
{
const postData = singleItem[0].Posts[i];
res.render('post_details_Edit',{singlePost: postData,singleItem: singleItem[0]})
}
}
}
)
.catch(() => res.send('404 Error: Page Not Found'))
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Posts/UpdateEdit/:id | Update | Get | Use | Updates the selected database location |
router.post('/update/:id/:postid', function (req, res) {
db.Location.find({_id: req.params.id})
.then
(
singleItem =>
{
for(let i = 0 ; i < singleItem[0].Posts.length ; i ++ )
{
if(singleItem[0].Posts[i].id==req.params.postid)
{
singleItem[0].Posts[i] = req.body
db.Location.findOneAndReplace({_id: req.params.id},singleItem[0])
.then
(
res.redirect(/Location/${req.params.id})
)
}
}
}
)
.catch(() => res.send('404 Error: Page Not Found'))
})\
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /Posts/delete/:id | Delete | Get | Destroy | Deletes the post from a location |
router.get('/delete/:id/:postid', function (req, res) {
db.Location.find({_id: req.params.id})
.then
(
singleItem =>
{
// console.log(singleItem[0])
for(let i = 0 ; i < singleItem[0].Posts.length ; i ++ )
{
if(singleItem[0].Posts[i].id==req.params.postid)
{
singleItem[0].Posts.splice(i,1);
db.Location.findOneAndReplace({_id: req.params.id},singleItem[0])
.then
(
res.redirect(/Location/${req.params.id})
)
}
}
}
)
.catch(() => res.send('404 Error: Page not Found'))
})\
Struggles
While trying to set up the filtering of this website i ran into a couple problems with using the querry parameters as the filter. There is a little more research needed before i can make sure i use the right mongo db operators and correct layout of my req.query parameters for the arrays.
Future Design
In the future i will be panning on connecting this to an api. Hopefully one that would have the lake or river class,type,etc. along with possibly have profile structure that could connect to other profiles (friends) in whom you can share private posts
Portfolio
App PictureList of Technologies Software language - javascript, css , html
Installation Instrucations
Click This link and it will bring you to the page https://jschinel.github.io/Portfolio/
User Stories
Hiring Manage For Front End Development - The graphical design of my website using flex and grid methodology and shows a knowledge of margining, centering and overal visual austhetics. Hiring Manage For Back End Development - My hangman game has some extensive use of DOM methods, array itirating and simple IF/Else comparators. Friends and Family - Enjoy a game of hangman or just browse the website. I am sure you will enjoy the progress i have made
Basic Directions For Navigating
This is just a simple website showing my personal bio. When you open it up you will brought
to the image shown below.
From here you will be able to manuever to learn about my me by hover over the desired tabs
When hovered over you will have multiple options to select from
Major Hurdles Css grid and flex has consumed a lot of time during this project. However i have learned a great deal and now i am much more comfortable laying out pages.
Next Steps This website will continue to grow as i add content to the about me or maybe some of my future projects!
Team Project (Pitcru)
# PiTCRUList of Technologies Used
API Ninjas, bs4 (Beautiful Soup) , Django, Postgres, Neon, HTML, Python, CSS, Heroku, Python, Javascript, HTML, CSS, PostgreSQL, Django,Unsolved Problems and Development Hurdles
Thankfully there were only a few obstacles we encountered mainly with our static assets and the forms pages, which still remains unsolved. Other obstacles that we overcame were synching out database and api content on the screen.Prep Materials
https://docs.google.com/presentation/d/1qpX5GW_Bafp2oBqJjIH_7ISXsjz8pVqTMe-U6UNrceg/edit#slide=id.phttps://trello.com/invite/b/ZwKB3WGc/ATTI825093ffdfe208138f2e6222500dcc912ADDC12A/pitcru
How we git
We implement a feature branch workflow, the rules of which include:- All development work by a team member will be completed in a descriptively named feature branch
- Development work will only be added to the main project through branch merge pull requests
- All discussion and decision making will be tracked in pull request comments
- Navigate to local repo in terminal
-
Refresh local main branch
First, ensure your main branch is checked out by simply running the followinggit checkout main
Next, sync your local main branch to the remote main branch by running the followinggit pull
Next, output the status of your repo by running the followinggit status
Finally, observe the output and check that your branch is up to date by confirming the following text appears in your git status output
-
Create New Feature Branch
Run the following with no square brackets where new_branch_name is a descriptive name that correlates to your assigned Trello ticketgit branch [new_branch_name]
Set your local working branch to your new feature branch by running the followinggit checkout [new_branch_name]
List all your branches created for this repo by running the followinggit branch
Confirm your new feature branch is selected by ensuring it appears in the output list and has an asterisk next to it
Set your upstream branch by running the followinggit push -u origin <[new_branch_name]
Push new branch to Github by running the followinggit push --set-upstream origin [new_branch_name]
Check remote repository and assure new branch now appears in the list
CONTACT GIT GUY IMMEDIATELY IF YOU RUN INTO ISSUES YOU DO NOT KNOW HOW TO RESOLVE -
Develop Code in New Branch to Meet Trello Ticket Requirements
Complete all development work in this branch (write functionality piece by piece and add, stage, commit between getting each piece working!)-
For reference, here are the comments to 1. stage, 2. commit, and 3. push
- Stage changes by running
git add -A
- Commit changes by running
git commit -m "commit message"
- Push changes by running
git push
- Stage changes by running
-
Submit Pull Request and Notify Reviewers
Run the followinggit log
Compare log output to remote branch commit history and ensure the most recent commit IDs match
If remote repo not up to date, refer to step 5 to stage, commit, and push changes.
Once local and remote branches are sync'd, submit pull request
Notify reviewer(s) via Discord group chat that PR is ready for review
CONTACT GIT GUY IMMEDIATELY IF YOU RUN INTO ISSUES YOU DO NOT KNOW HOW TO RESOLVE
How we Seed(Installation Instructions)
- First make sure there isnt any changes that havent been migrated
python3 manage.py makemigrations
- Migrate any changes that may be pending
python3 manage.py migrate
- Drop your db through the terminal
dropdb pitcru
- Create your db through the terminal
createdb pitcru
- If you dont have requests folder download using the follow
pip3 install requests
- Enter the python shell
python3 manage.py shell
- Import the main app models folder
from main_app.models import *
- Run the seeding function
seed_db()
Next Steps
Capstone (Personal Planner)
Welcome to the my personal planner site!! Surf around play some trivia, read some jokes or even play some music from you spotify account!
Follow the link below and try it out!
https://personalplanner-11519afe1d1f.herokuapp.com/
User
Navigation
Home
Jokes Homepage
Wordplay Homepage
Music
Login / Sign-Up
Profile
Installation Instructions
There is a couple of things to know before making changes to this project.First we will initialize and installed the according packages necessary. Inside your project terminal run the following commands to complete this.
npm init -y npm i express mongoose dotenv react-spotify-web-playback nodemon node jwt-simple cors axios vite react-dom react-router-dom react-spotify-web-playback
next you will need to install the software for the CSS framework
npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p
After this is completed a mongoDB will be necessary to store data. This is done by created a .env file. Once created you will need to create a variable inside this file for your mongoDB connection. See the example listed below
MONGODBURI="mongodb+srv://YourUsername:YourPassword@cluster0.ruhgrt4.mongodb.net/YourCollection"
NOTICE!!!!! You will have to replace "YourUsername:YourPassword" and "YourCollection" with your personal mongoDB information
PORT=3000
You will need to sign up for the following free APIs to gain access to your api key
VITE_API_NINJA_KEY="Your api key"
VITE_GIPHY_KEY="Your api key"
The jwt key is used for the token system for the user auth.
JWT_SECRET_KEY="Your Key"
This site is used in conjunction with the spotify web api. You will need to following the set up directions to set this up on the following url
https://developer.spotify.com/documentation/web-api
Once this is set up you will need to put your desired redirection url and client id to the corresponding .env properties
VITE_SPOTIFY_CLIENTID="Your ID" VITE_SPOTIFY_REDIRECT="Desired URI"
Details
{// Require the Mongoose package & your environment configurationconst mongoose = require('mongoose');require('dotenv').config()// Connect to MongoDB Atlas\
mongoose.connect(process.env.MONGODBURI); const db = mongoose.connection
db.on('connected', function () { console.log(
Connected to MongoDB ${db.name} at ${db.host}:${db.port}); });// Export models & seed data module.exports = { Location: require('./Locations'), Posts: require('./posts'), seedLocations: require('./seed') } }
Routes
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| / | N/A | GET | N/A | Brings the user to the general navigation page |
| /jokes/general | N/A | GET | N/A | Brings the user to general jokes page |
| /jokes/dad | N/A | GET | N/A | Brings the user to dad jokes page |
| /jokes/chuckorris | N/A | GET | N/A | Brings the user to chuck norris jokes page |
| /wordplay/quotes | N/A | GET | N/A | Brings the user to quotes page |
| /wordplay/riddles | N/A | GET | N/A | Brings the user to riddles page |
| /wordplay/trivia | N/A | GET | N/A | Brings the user to trivia page |
| /profile | N/A | GET | N/A | Brings the user to their personal profile page |
| /auth/login | N/A | GET | N/A | Brings the user to the login page |
| /auth/signup | N/A | GET | N/A | Brings the user to the signuppage |
| /music | N/A | GET | N/A | Brings the user to the music page (Login to spotify or see profile) |
| /accounts.spotify.com/ | N/A | GET | N/A | Once the user clicks the log in button it brings them to the authorization page for spotify |
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /mongo/users/signup/:user | N/A | GET | Create | Creates the user profile withiin the mongo database |
| /mongo/users/login/:user | N/A | GET | Read | Gets the corresponding user profile |
| /mongo/users/finduser/:email | N/A | GET | Read | Finds the active user within the database |
| /mongo/users/addcodeverifier/:data | Update | POST | Update | Adds spotify code verifier to user profile |
| /mongo/users/getcodeverifier/:email | N/A | GET | Read | Finds the spotify code verifier for current user |
| URI | Rest Route | HTTP Method | Crud Action | Description |
|---|---|---|---|---|
| /mongo/comments/users/:userId | N/A | GET | Read | Gets all comments created under active username |
| /mongo/comments/:contentName | N/A | GET | Read | Gets all comments connected to content name |
| /mongo/comments/:commnetId?AuthHeader | Create | POST | Create | Creates a comment within the mongo db |
| /mongo/comments/:commentId?AuthHeader | Update | PUT | Update | Will update a specific comment in the mongo db |
| /mongo/comments/:commentId?AuthHeader | Delete | Delete | Delete | Finds the spotify code verifier for current user |
Struggles
Setting up the spotify Oauth was a major hurdle however i learned a ton of new information with the PKCE verification and spotify api during the process so overall it was very beneficial
Future Design
In the future i will be adding a planner to the website that will allow the user to schedule their day. The main objective of this site is to provide a one stop shop for people that may be working remotely or just trying to plan their tasks for the day. With this website it wont be necessary to have 10 different browser tabs open. I also plan on giving the user capability to adding links to excel files they are working on or any other website. This will be done through a form on the profile page.




