Tutup

Node Express authentication app

Proyek ini menerima 20 penawaran dari para freelancer berbakat dengan harga penawaran rata-rata $215 USD.

Dapatkan penawaran gratis untuk proyek seperti ini
Pemberi kerja bekerja
Anggaran Proyek
$30 - $60 USD
Total Penawaran
20
Deskripsi Proyek

I am a front end developer and I need a simple node app (no css) that handles authentication for me. This will be used as a starter app for my new projects. See the [url removed, login to view] attached for dependencies I want to use. Here are the requirements:

5 Routes:

/login ([url removed, login to view] strategies for Google, Twitter, Facebook and local. I will provide Client ID's and Client Secrets for each)

/signup ([url removed, login to view] strategies for Google, Twitter, Facebook and local. I will provide Client ID's and Client Secrets for each)

/index (Show "Hello Username" if logged in or show login and sign up links)

/forgot-password (for local strategy only. Checks that email address exists and if so, adds reset code to user table and sends a 1 time code to reset password)

/reset-password/[resetCode] (allows user to enter email along with new password and confirm password. Will reset password if code is valid and set code value back to null in the db)

/confirm-email/[confirmCode]

RethinkDB Database:

userId: Start these at 100 and auto increment.

first: first name (can be null)

last: last name (can be null)

country: can be null

hash: For social strategies only (null if local strategy). Hash of the social platforms userid and stratgey name. This will give us something unique to query on when there is a social login.

email: required if local strategy but store it anyway if the social platform provides it (some don't).

password: Bcrypt hash of the password. For local strategy only (null if social strategy).

strategy (enum): Google, Facebook, Twitter or Local

dateSubscribed: date of sign up

loginCount: increment for each login.

resetCode: store reset code when user needs to reset password

confirmCode: store confirm email code when signup happens with local strategy. Send email to verify their email address after signup and when they click the link, set this back to null

dateConfirmed: date email address was confirmed.

Keahlian yang Diperlukan

Ingin menghasilkan uang?

  • Atur anggaran Anda dan jangka waktunya
  • Uraikan proposal Anda
  • Dapatkan bayaran atas pekerjaan Anda

Pekerjakan para freelancer yang juga menawar di proyek ini

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online