DC Fake Mews https://dcfakemews.herokuapp.com/
I created an app based off my friend Masha's Instagram account, DC Fake Mews. Masha collects and posts pictures of cats we know and creates political blurbs in the voice of the cat. We want DC Fake Mews to go viral so I am creating a web app version to increase exposure and get non Instagram folks following.
The user first arrives at a landing page containing login/sign-up links at the top, DC Pawlitics title in the middle and DC Fake Mews as the subtitle.
- Meet the Cats - takes you to a page which displays all the cats and a link to their indviidual profiles.
- Kitty Op-Eds - the individual profile pages will contain the picture of the cat side by side with their opinion blurb and the hashtags to describe, and in the future, search for posts.
- Submit Your Feline - links to a form to submit your cat to be featured on DC Fake Mews.
Login/sign up link so that only authorized users can create and edit cats. A separate portal for users to submit their cat.
Ideally, I would like the user to be able to register for an account which will assign them a portal where they can add and delete favorite cats to view later. The registration form will require them to select a username and password for return visits.
- Node
- Express.js
*Package Modules:
-
PG-Promise - makes creating apps with Node & SQL simpler
-
Morgan - provides us with more useful errors for speedier debugging
-
EJS - templating language for creating markup in express
-
Method Override
-
Body Parser
-
Nodemon
-
PostgreSQL
Clone the repo and once in the folder npm i to install dependencies. Run the command npm run dev to
- id
- name
- id
- name
- img_url
- blurb
- hashtags
- cissues
- affiliation_id
I plan to set benchmarks for myself (see Time estimates below) and also follow the practice of starting small, testing it out to see if it works, and then moving on to the next peice. I think this will help me alot with time management because it will decrease my debugging time if I can isolate issues quickly.
Ideally I don't want the user to have the ability to delete cat posts just for the sake of fufilling the requirement. Therefore, I need to have a way for them to have an account to save favorite cats which can be deleted after. This gets into authentication which is something I wanted to focus on post-MVP. I might just have to create a way for the user to delete from the database which doesn't really make sense but time might not allow me another choice. :/
- Completed pseudo code of all pages.
- Obtain all pictures for app.
- Create schema for database and insert all data.
- Server/database config and basic setup done.
- Remember to push completed work.
- Completed and tested model.
- Remember to push model.
- Completed Controller
- Sizeable dent in Router.
- Completed Router by early part of day.
- Completed 'ejs' files and begin styling latter part of day.
- Push final completed MVP.
- In the unlikely event I have extra time, create a new branch to implement post MVP features like:
- authorization
- authentication
- user portal creation
- api useage
- jquery effects