All Projects → dalenguyen → serverless-rest-api

dalenguyen / serverless-rest-api

Licence: other
Building RESTful Web APIs with Firebase Cloud Function, Firestore, Express and TypeScript

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to serverless-rest-api

cannercms
⚡️[NOT MAINTAINED] Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
Stars: ✭ 2,452 (+2280.58%)
Mutual labels:  restful-api, firestore
Thinkphp5 Restfulapi
restful-api风格接口 APP接口 APP接口权限 oauth2.0 接口版本管理 接口鉴权
Stars: ✭ 949 (+821.36%)
Mutual labels:  api-server, restful-api
Canner
⚡️[NOT MAINTAINED] Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
Stars: ✭ 2,472 (+2300%)
Mutual labels:  restful-api, firestore
barber-shop
Vue + Firebase (cloud functions, auth, firestore, hosting) reservations system
Stars: ✭ 47 (-54.37%)
Mutual labels:  cloud-functions, firestore
Proteus
Lean, mean, and incredibly fast JVM framework for web and microservice development.
Stars: ✭ 178 (+72.82%)
Mutual labels:  api-server, restful-api
universal-translator
Demo app using Firebase and Google Cloud products to implement a "universal translator"
Stars: ✭ 37 (-64.08%)
Mutual labels:  cloud-functions, firestore
Json Server Heroku
Deploy json-server to Heroku & Azure 🆙 🆓
Stars: ✭ 310 (+200.97%)
Mutual labels:  api-server, restful-api
foundry-cli
Foundry makes the development of Firebase Functions fast by giving you an out-of-the-box working cloud environment for your development with an access to your production data. It's a CLI tool that gives you a continuous REPL-like feedback about your Firebase Functions.
Stars: ✭ 49 (-52.43%)
Mutual labels:  cloud-functions, firestore
Appkernel
API development made easy: a smart Python 3 API framework
Stars: ✭ 152 (+47.57%)
Mutual labels:  api-server, restful-api
Appy Backend
A user system to bootstrap your app.
Stars: ✭ 96 (-6.8%)
Mutual labels:  api-server, restful-api
app
Source code of intencje.pl website and mobile/desktop apps based on Angular, Firebase, and Capacitor.
Stars: ✭ 12 (-88.35%)
Mutual labels:  cloud-functions, firestore
go-pangu
rest api web server based on go(High availability, high security, high performance)
Stars: ✭ 45 (-56.31%)
Mutual labels:  api-server, restful-api
fireschema
Strongly typed Firestore framework for TypeScript
Stars: ✭ 193 (+87.38%)
Mutual labels:  cloud-functions, firestore
rowy
Open-source Airtable-like experience for your database (Firestore) with GCP's scalability. Build any automation or cloud functions for your product. ⚡️✨
Stars: ✭ 2,676 (+2498.06%)
Mutual labels:  cloud-functions, firestore
firebase-jest-testing
Firebase back-end testing, using Jest.
Stars: ✭ 21 (-79.61%)
Mutual labels:  cloud-functions, firestore
node-server
(@nestjs refactoring)⚡️My personal website's api server, a RESTful application that powered by @eggjs
Stars: ✭ 17 (-83.5%)
Mutual labels:  api-server, restful-api
Openapi Generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Stars: ✭ 10,634 (+10224.27%)
Mutual labels:  api-server, restful-api
Graphql2rest
GraphQL to REST converter: automatically generate a RESTful API from your existing GraphQL API
Stars: ✭ 181 (+75.73%)
Mutual labels:  api-server, restful-api
wine
A lightweight and flexible framework to help build elegant web API
Stars: ✭ 39 (-62.14%)
Mutual labels:  api-server, restful-api
restgoose
Model-driven REST API framework using decorators
Stars: ✭ 28 (-72.82%)
Mutual labels:  restful-api

Building Serverless RESTful Web APIs with Cloud Functions, Firestore, Express and TypeScript

This is a simple API that saves contact information of people.

Requirements

NodeJS

You will need a Firebase project and firebase tools cli

npm install -g firebase-tools

Getting Started

You can follow the guide on Medium or clone this repository.

Clone this repository

git clone [email protected]:dalenguyen/serverless-rest-api.git .

You need to change the firebase project name in .firebaserc file.

After that, you can log in to firebase in the terminal

firebase login

Deploy to firebase

For the first time, you have deploy the hosting and functions together

firebase deploy

After that, you just need to deploy functions only

firebase deploy --only functions

Trouble shooting

If you have the declare namespace FirebaseFirestore, please comment the content of node_modules/@google_cloud/firestore/types/firestore.d.ts. After that you can test the api locally or deploy it to the cloud.

If you cannot do it, please "".firebaserc" has to be deleted and "firebase init" need to be run again." - Thanks to techboycr.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].