Skip to content

Express js, Postgress and Sequalize ORM backend APi with Firebase Auth

Notifications You must be signed in to change notification settings

Eberewill/sequalcms

Repository files navigation

Express, sequelize Postgress DB Simple CMS API with Firebase Auth

Build Status

Features

  • Create users from one endpoint with firbase-admin
  • Login User endpoin with Firebase auth
  • Midleware function to decode user token
  • CRUD Feature with sequelize Postgress DB
  • Protectected routing

API Endpoints

Authentication (firebase auth with email & Pw)

-# Register

//user data
{
    "name": "Bode",
    "email": "English@gmail.com",
   "password": "helloworld"

}

-#Login

//request body (returns a token you will use to hit protected routs if credential is correct)
{
        "email": "English@gmail.com",
   "password": "helloworld"

}

Protected routes

//
 headers: {
        authtoken: `YOUR_AUTH_TOKEN`,
    },

About

Express js, Postgress and Sequalize ORM backend APi with Firebase Auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published