Ironhack Bootcamp week 5: Let's build a full stack web app from scratch!
Today only a short summary, because this weekend I have to work on the final project of module 2 and also need some free time to regenerate. I'm slowly realizing that the bootcamp is costing a lot of energy: The level is incredibly high, as is the daily workload - and time is running.
Topics this week
Express Web app: basic architecture
At the beginning we got to know a possible architecture of express web apps. We used the Express Generator, which allows us to quickly start modular but comprehensible applications. Essentially, the applications are broken down into various routers, views and models and a comprehensive folder structure is set up.
Authentication
Another part was authentication. With the help of bcrypt and express session, we learned what is essential for user-authentication (both signup and login) can be mapped. We learned what role cookies play and what a session is, as well as the practical application with several examples.
Postman
Another point was a short intro to the tool Postman: An absolutely powerful tool, which I already used in my last project to better understand the endpoints provided by customers and the data they can access. We use it to test our requests and queries to APIs.
Start of the second project
On Thursday we kicked-off the second project which marks the end of module II. The goal is to build a full stack web application in a group of 2-3. The following things must be given:
- Registration and login is possible
- The user can add, view or edit something to the database via a form
- In the background there must be a mongoDB with at least 2 collections and the documents must have a relation to each other.
The project is not only much more challenging in terms of content, it is also more demanding in terms of organization and preparation:
- Teamwork is required, which is why the introduction and disciplined adherence to GIT workflows is essential
- There are several views and user journeys in the app that need to be prepared via wireframe and sequence diagrams, as well as the corresponding drafts of the required database schemas
- The whole preparation must be broken down into tasks and entered into the project management tool.
I will have a bit more time next weekend to present the project and my work in more detail. Be curious, the idea we are currently implementing in its basic logic has the potential to be continued after the project is finished ;)