Welcome to PEN-NY, a place for New Yorkers to share their thoughts and connect with other locals in the concrete jungle.
Rosendo Pili (@rosendopili)
Melissa Jeremie (@melissa-kj)
- Clone this repo
[email protected]:rosendopili/apiProject2.git
- Install PostgreSQL to your local machine using homebrew:
$ brew update
$ brew install postgresql
-
HTML/CSS - PEN-NY is based on this project, with an updated front end design. We used HTML & CSS to build a new single page version of the site.
-
JavaScript - We used JS to create an engaging and responsive user interface and add functionality to elements such as user signup, login and posting.
-
Java/PSQL - The PEN-NY API is built with Java and a Postgres relational database which houses all user data and input.
-
Spring Boot - This easy to use Spring framework allowed us to quickly develop and run the PEN-NY app on the embedded Tomcat server.
We began this iteration of PEN-NY by building the backend with Spring Boot. The first couple of days were spent pair-programming and debugging any issues that arose as we went along. We started the backend code from scratch a few times before getting all of our needed dependencies, folders and classes working as they should so that the code would compile.
After building all of the necessary Java classes and mapping them to our Postgres database, we began populating the database and testing the functionality of our API with Postman. Testing revealed more bugs, particularly with JSON web tokens.
As with any project, there were a few stumbling blocks. Our first round of pair programming went smoothly, but we had to restart due to some initial errors/dependency issues. We also experienced challenges with getting our user sign up and login functions to persistently work. Overall the project was a challenge, but it was also fun and fascinating to learn the ins and outs of an API by building our own.
Click here to read the PEN-NY app user stories.
Photos and diagrams of our work throughout the app building journey can be viewed here. Examples of our PostMan tests can be viewed in the PostManTesting folder above.