Skip to content

oluwatimio/ehotel-backend

Repository files navigation

EHOTEL BACKEND

What is this repo?

This is the backend for the repo ehotel. Some files Such as ClientMaker.ts, FireAuth.ts and FirebaseAdmin.ts are missing from this public repo. Those files contain important authentication information for Gcloud, Firebase and heroku that cannot be displayed publicly on the internet.

The routes for ehotel backend can be seen in routes folder. The services such as the postgreService, TableCreator and TriggerCreator can be seen in the services folder. The combination of routes and these services make the ehotel backend.

The frontend/application for ehotel can be found here. https://github.com/bamboozooled/ehotel. The website can be accessed here https://e-hotels.firebaseapp.com

Test login info for Shopify -

Book a hotel with this customer account

Login for customer account = [email protected] Password = bookinghotel

Create a hotel with this hotel account

Login for hotel account = [email protected] Password = testinghotel

Tech Stack

This backend uses technologies such as

  • NodeJS Express
  • TypeScript
  • PostgreSQL
  • PG for NodeJS
  • Google Cloud App Engine for hosting of the NodeJS backend.
  • FirebaseAdmin SDK
  • FirebaseAuth and session tokens
  • The concept of Singletons
  • Promises

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published