Collectively – Authentication

0 comments / 28 March 2017

In today’s post, I’ll describe the new for me and it was really hard to introduce the Authentication to the application. Before I start, at first, let’s start with add missing Router to the application (to define the paths and related with them views).

Route '/' - Default page 
Route '/dashboard' - Dashboard - high order component available only for logged admin
Route '/wrong_url' - kick automatically to the default page

Let’s get started writing some code for Authentication. In order to the authentication process, you need to handle with the ‘token’ which is actually in our back-end the JWT token and assign it to out localStorage. In order to start with a sign in the form, I created the simplest form and function which on handleSubmit will call my function to send data to my API.

Read more

Becoming a software developer – episode IX

0 comments / 23 March 2017

 

Welcome to the ninth episode of our course “Becoming a Software Developer”, this episode will show you the process of creating whole architecture and we’re making some overview.

All of the materials including videos and sample projects can be downloaded from here.
The repisotory is being hosted on GitHub

More from technical side, you can read at Piotr’s blog

Scope

This episode will focus on creating process of architecture and some overview to the appplication task. :

  • Overview
  • Architecture

Read more

Collectively – architecture

0 comments / 21 March 2017

After a new days recognition of React and Redux to create a reliable scaffolding of my application, I can present the first version of architecture and how I am gonna managing the whole application states. I’ve managed and implement the first boilerplate of my application, which I will grind over small pieces of components.

I will use the react-redux to have control of state of my application, middleware to manipulate action before it hit to the reducers, which actually will to update state and inject to the application. The second libraries will be axios to manage the AJAX request.

Read more

Becoming a software developer – episode VIII

0 comments / 17 March 2017

 

Welcome to the eighth episode of our course “Becoming a Software Developer”, which will show you good paterns and how to used practises used on daily basis in the world of the software developer.

All of the materials including videos and sample projects can be downloaded from here.

More from technical side, you can read at Piotr’s blog

Scope

This episode will focus on the good paterns and practices in software development general. :

  • Design Patterns
  • Good patterns and practises

Read more

Collectively – project description

0 comments / 12 March 2017

Already I am starting with a project called Collectively preparing on the competition Daj się poznać 2017. The panel which I’ll be working on for the next 10 weeks. I will work on the Website.Panel (we have already some back end of the application). You can find the official project on GitHub where you can sort through code.

Collectively is an open source & cross-platform solution that provides applications and a services made for all of the inhabitants to make them even more aware about keeping the community clean. Within a few clicks you can greatly improve the overall tidiness of the place where you live in.

Read more

Becoming a software developer – episode VII

0 comments / 9 March 2017

 

Welcome to the seventh episode of our course “Becoming a Software Developer”, which will show you how to deal with tests (how and why write tests), unit testing and integration & end-to-end testing.

All of the materials including videos and sample projects can be downloaded from here.

More from technical side, you can read at Piotr’s blog

Scope

This episode will focus on the good paterns and practices in software development general. :

  • Why & how to write the tests
  • Unit testing
  • Integration & End-to-End testing

Read more

Becoming a software Developer – episode VI

0 comments / 4 March 2017

Welcome to the sixth episode of our course “Becoming a Software Developer”, which will show you how to deal with types via reflection, asynchronous operations, multithreading and other more advanced parts of the C#.

All of the materials including videos and sample projects can be downloaded from here.

More from technical side, you can read at Piotr’s blog

Scope

This episode will focus on the different features of the language that will be very useful later on, once we start creating the application:

  • Reflection
  • Dynamic
  • Attributes
  • Async & Await
  • Parallelism

Read more

“Get noticed!” I’m in

0 comments / 1 March 2017

I have just joined to “Get noticed – Daj się poznać” which within 10 weeks I will develop my application. It is kind of programming competition. The project needs to be open source, but the important part is also blogging about that. Until June here I will post about my project what is called Collectively.

Collector is an open source & cross-platform solution that provides applications and services made for all of the inhabitants to make them even more aware of keeping the community clean.

WE ARE CREATING REACT APP – SIMPLY COUNTDOWN – PART III

0 comments / 26 February 2017

Welcome at the last part of creating a simple countdown.

On part I, we are introducing react.
The second part II, we update state and change styling.

Today, we will take care about:

  • Introducing props
  • Calculating time until
  • Lifecycle methods

Introducing Props

We need to focus on App.jsx file. Let’s specify the current state of deadline within this Clock component which is imported. So we add the deadline from parent application state to the Clock. Now we will see the deadline as a child of our props. Based on this we can calculate the time until the date.

  <Clock
  deadline={this.state.deadline} />

Read more

Newer
Older