Dev Tech Questions - Facebook Developer Circle: Mombasa

As this is an appreciation post, I will be highlighting all the posts on the Dev Tech Question on my Community’s Facebook Group. The Community I am a proud member of the Facebook Developer Circle Mombasa. With great members who share valuable ideas, opportunities, and various solutions to bugs and code-related issues. The Dev Tech Questions The program was officially introduced in October 2020 by one of the greatest leads, Ingari A. Joan. ...

February 26, 2021 · 2 min · Chris Achinga

Running The Django App

If you are coding along, I used the following set up environment: Requirement: Python3 Virtualenv Pip The file structure of the cloned project is as shown below: ├── manage.py ├── myapp │ ├── admin.py │ ├── apps.py │ ├── __init__.py │ ├── migrations │ │ └── __init__.py │ ├── models.py │ ├── tests.py │ └── views.py └── _projectroot ├── asgi.py ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-38.pyc │ ├── settings.cpython-38.pyc │ ├── urls.cpython-38.pyc │ └── wsgi.cpython-38.pyc ├── settings.py ├── urls.py └── wsgi.py Registering a Django application For an application to be functional, we have to let Django know that it exists. ...

February 22, 2021 · 5 min · Chris Achinga

Starting a Django Project

Create a specific directory top work on. cd django-template You’ll notice some folders created and a pyvenv.cfg file created but we won’t need it at all. Activate the virtual environment source bin/activate Installing Django I’m going to use the latest official version (3.0.8), using the simple command below: pip3 install django Confirm if it’s installed by checking the version python3 -m django --version Creating A Django Project Starting a Django project ...

February 21, 2021 · 2 min · Chris Achinga

Starting a Django Project

What Is Django Django is a python web framework. It’s used to developing full-stack web applications. Django is my to-go framework before considering other options when it comes to working with full-stack projects, either personal or commercial. Well, there are other options to use like Express which is a great stack too. What Should I know before using Django Django is a python framework, so this goes without saying that you need to know some bit of python basics and syntax before hitting the road. But as some prefer, learning as you go, Django does give too many constraints with the option too. ...

February 18, 2021 · 11 min · Chris Achinga

Linked List For (!Dummies)

I started off #100DaysOfCode on the 1st of January 2020 and hit the Linked List topic without looking back. It is an interesting Data Structure and to be honest, I still am working on it. So I’ll explain what I have understood on LinkedList in a few paragraphs as I continue working on real examples. What is a Linked List? It’s a collection of data in a linear structure, and the order of the data isn’t determined by their physical order. ...

January 4, 2021 · 1 min · Chris Achinga

How I started Using ES6 Modules in Node JS

A short guide on how I started using ES6 Modules when using Node. I love the EcmaScript Module syntax and I use it almost in all my code and practices. I will use the example from Express Introduction - MDN So, create a new folder (node-es6): mkdir node-es6 Inside the folder, initialize a node application by: npm init -y Now open the folder using your favorite text editor. Create a new file hello.js and paste the code: ...

January 3, 2021 · 2 min · Chris Achinga

Beginner React/Messenger Tutorials: 2020 Developer Circles Community Challenge

On September 10th, 2020, Facebook Developers announced the 2020 Developer Circles Community Challenge. The challenge was on creating tutorials for using any of Facebook’s open-source products. Submissions were really great and once again appreciating and stressing on the importance of developer communities. I have gone through the regional and global submission winners and I’d love to highlight all React-based tutorials for beginners. Here is the list: (No particular order was followed here :-) ) ...

January 2, 2021 · 2 min · Chris Achinga

Syncing A forked Repo with the Parent Repo on GitHub

A short guide and a practical reference to GitHub Documentation on syncing a repo. It’s kind of an ‘open-source’ hacks For the guide, I’ll be using a repo I forked from FbDevcCommunityContent. From the terminal, I will change my directory to where the project files are: The first step will be to fetch branches and their commits from the upstream, or the parent repository: git fetch upstream After that, ensure that you are at the default repository on your remote repo. In my case, the default branch is master, and so is the upstream. ...

January 1, 2021 · 1 min · Chris Achinga

21 In a Glimpse

https://linktr.ee/chrisdev Well, I started writing an article, a really long one so I had to break it down then post the whole piece (ironic tho) later once I am done. 21 in A Glimpse My journey into a full-stack dream job seriously started in March 2020, and I’ve learned more from the many mistakes I have made along the way. After research and a little bit of practice, I thought I’d document my preferences and choices that I’ll probably use in ‘21. Most of my suggestions are from the Dev communities and some individuals who I admire how they work and probably walking in the same path. ...

December 31, 2020 · 4 min · Chris Achinga

React & Bootstrap Starter Template

Live Demo I love using Bootstrap because it saves time when trying to make a site responsive. After learning to use react, I started working on using bootstrap with react. It was tough at first, and after I got a hang of it, I quickly made a template that I’d reuse every time I want to use react and bootstrap altogether. Here is brief documentation and description of the template: Usage: Start using the template in these few simple steps: ...

December 26, 2020 · 3 min · Chris Achinga