Project #2: Building Your First Full-stack Application
Overview
This second project is your first foray into building a full-stack application. You'll be building a Node/Express/Mongo app, from the ground up yourself.
You will be working individually for this project, and you'll be designing the app yourself. We hope you'll exercise creativity on this project, sketch some wireframes before you start, and write user stories to define what your users will want to do with the app. Make sure you have time to run these ideas by your instructors to get their feedback before you dive too deep into code! Remember to keep things small and focus on mastering the fundamentals, a Kanban board like Trello will really help here -- scope creep/feature creep is the biggest pitfall for any project!
Technical Requirements
Your app must:
- Have at least 2 models (more if they make sense) -- ideally a user model and one that represents the main functional idea for your app
- Include sign up/log in functionality, with hashed passwords & an authorization flow
- Have complete RESTful routes for at least one of your resources with GET, POST, PUT, and DELETE
- Utilize an ORM (most likely Mongoose) to create a database and interact with your data
- Incorporate a CSS Framework like Bootstrap to style your site.
Bonuses
- Include API endpoints in your application. That means, have some /api/ name-spaced routes that return JSON data.
- Incorporate an External API. Examples include Yelp, Tumblr, Facebook, and others on Mashape.
- Allow Image Upload. Using the Multer package and a service like Cloudinary.
- Add tests to your App, using Mocha, Chai & SuperTest.
Necessary Deliverables
- A working full-stack application, built by you, hosted somewhere on the internet (most likely Heroku)
- A link to your hosted working app in the URL section of your Github repo
- A git repository hosted on Github, with a link to your hosted project, and frequent commits dating back to the very beginning of the project. Commit early, commit often.
- A
readme.md
file with explanations of the technologies used, the approach taken, installation instructions, unsolved problems, etc. - Wireframes of your app, hosted somewhere & linked in your readme
- A link in your
readme.md
to the publically-accessible user stories you created
Suggested Ways to Get Started
- Begin with the end in mind. Know where you want to go by planning with wireframes & user stories, so you don't waste time building things you don't need
- Don't hesitate to write throwaway code to solve short term problems
- Read the docs for whatever technologies you use. Most of the time, there is a tutorial that you can follow, but not always, and learning to read documentation is crucial to your success as a developer
- Commit early, commit often. Don't be afraid to break something because you can always go back in time to a previous version.
- User stories define what a specific type of user wants to accomplish with your application. It's tempting to just make them todo lists for what needs to get done, but if you keep them small & focused on what a user cares about from their perspective, it'll help you know what ot build
- Write pseudocode before you write actual code. Thinking through the logic of something helps.
Useful Resources
- Heroku (for hosting your back-end)
- Writing Good User Stories (for a few user story tips)
- Presenting Information Architecture (for more insight into wireframing)
- [Gitbook External APIs in Node](https://jeremiahalex.gitbooks.io/wdi-sg/content/05-express/express-apis/03apis.html)
- [Gitbook Image Upload with Cloudinary](https://jeremiahalex.gitbooks.io/wdi-sg/content/05-express/additional-topics/express-cloudinary/readme.html)
Project Feedback + Evaluation
Project Workflow: Did you complete the user stories, wireframes, task tracking, and/or ERDs, as specified above? Did you use source control as expected for the phase of the program you’re in (detailed above)?
Technical Requirements: Did you deliver a project that met all the technical requirements? Given what the class has covered so far, did you build something that was reasonably complex?
Creativity: Did you added a personal spin or creative element into your project submission? Did you deliver something of value to the end user (not just a login button and an index page)?
Code Quality: Did you follow code style guidance and best practices covered in class, such as spacing, modularity, and semantic naming? Did you comment your code as your instructors as we have in class?
Problem Solving: Are you able to defend why you implemented your solution in a certain way? Can you demonstrated that you thought through alternative implementations? (Note that this part of your feedback evaluation will take place during your one-on-one code review with your instructors, after you've completed the project.)
Total: Your instructors will give you a total score on your project between:
Score | Expectations |
---|---|
0 | Incomplete. |
1 | Does not meet expectations. |
2 | Meets expectations, good job! |
3 | Exceeds expectations, you wonderful creature, you! |
This will serve as a helpful overall gauge of whether you met the project goals, but the more important scores are the individual ones above, which can help you identify where to focus your efforts for the next project!