Full Stack: Flutter & NodeJS -Part 1, Setup Register Screen

Kafka
2 min readJul 1, 2020

--

Hey y'all I'm gonna show you how to Implement authentication with Flutter and NodeJS as a backend.

Most apps these days need authentication. A register screen and a login screen. It seems most people use firebase to store authentication data But today I'm here to teach you how to build your own server and use an open source database that's 100% free forever.

If you don't like to read, I also created a YouTube video explaining this.

Here's what we're aiming for.

First you need to create the Flutter App

Here's what the main class looks like, We need to download the HTTP package.

Open up the pubspec.yaml file and Import the HTTP package and save.

Next up we create the Sign Up Section class. Here we also initialize two variables email and password.

For the last part we create a function to post data to our API.

Full Source code here:

That’s it guys. This was the front end for Flutter Next we will build the backend with NodeJs. I hope you guys got something out of this article. If this article helped you go ahead and smash that clap button. Cheers 🍺

Part 2: Flutter & NodeJS Authentication

All Parts: Full YouTube Playlist

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Kafka
Kafka

Written by Kafka

“Genius” is 1% inspiration and 99% perspiration. Accordingly, a ‘genius’ is often merely a talented person who has done all of his homework — T.E.

Responses (5)

Write a response