DEV Community

P-DR0ZD
P-DR0ZD

Posted on

Finishing My Major PR

This week I finished My Release 0.4 Pull request. The issue was from the cuttle repository and it was asking for someone to create a my profile page where in the future they would put account settings. Right now however they were only looking for a basic design and the ability to save an email to an account.

What Have I Finished

Currently, I have a Pull Request Unfortunately as of right now it isn't merged however I believe all that is left are minor design choices regarding the functionality and the main things they asked me to resolve are all implemented now I just need someone to review it which I will on their discord server. I Will update this blog post when it gets updated but I'm confident that it is working.

What Did I achieve

Back End

So From the last time I talked about how I only needed to add back-end Support and minor design changes. To be honest, I was worried because I was having a lot of issues with the back end no matter what I did my route wasn't available locally I was following tutorials and decided I would try asking the People inside of the server. I was able to make a new friend and They helped me with my problem. I needed to add my route to the policy file after that I was able to get it working and was able to test it with Postman.

I'm glad I got it to work and now I have a basic understanding of how Sail.js works.

Front End

I've been learning more about the design aspect of Vue.js and learned more about scss. But the biggest thing I needed to learn about is Middleware.

With this pull request, I got to learn more about how cuttle works how they make requests to the back end and how they can use variables globally like a username. They use middleware. Essentially between the front end and back end, there is a service that handles communication between both of them and stores variables so they are accessible from any page. I got to use the middleware and even create functionality that stores and finds the user's email address when they save it or log on.

My Goals

1. I want to learn how to Create A Vue.js Page

This Goal has been achieved. I was able to create an entirely new page.

2. I want to learn how to Style A Vue.js Page

This Goal has been achieved. I was able to use scss to design my page and make it fit with the rest of the application

3. I want to practice writing more tests

This Goal has been partially achieved. I created a new test to navigate to the my profile Page. I think however that I can work on this more. More on this in a bit.

4. I want to Learn about using Sail.js for the back end

This Goal has been achieved. This was the final goal that I wanted to work on that I added in the latest blog post. I'm glad that I was able to figure it out and get my page to a workable state.

Extra

I'm planning on continuing to work on cuttle throughout my winter break. The my profile page is working but as a feature is pretty bare. Right now it only saves a user's email address. With talking to the people in the cuttle discord some ideas for other settings are Dark mode, Notification sound and volume, and Profile username.

I found a community where I have made friends and they are welcoming to me and are even willing to help me learn. I will continue to work with them so I can continue to learn.

Top comments (0)